Sign in

Managing workspaces and access control

DagKnows Architecture Overview

Managing Proxies

Setting up SSO via Azure AD for Dagknows

All the experts

Enable "Auto Exec" and "Send Execution Result to LLM" in "Adjust Settings" if desired

Add credentials for various integrations

Add a key-value pair

(Optionally) Add ubuntu user to docker group and refresh group membership

Deployment of an EKS Cluster with Worker Nodes in AWS

Adding, Deleting, Listing DagKnows Proxy credentials or key-value pairs

Kubernetes pod issue

Comprehensive AWS Security and Compliance Evaluation Workflow (SOC2 Super Runbook)

AWS EKS Version Update 1.29 to 1.30 via terraform

Instruction to allow WinRM connection

MSP Usecase: User Onboarding Azure + M365

Post a message to a Slack channel

How to debug a kafka cluster and kafka topics?

Docusign Integration Tasks

Open VPN Troubleshooting (Powershell)

Execute a simple task on the proxy

Assign the proxy role to a user

Create roles to access credentials in proxy

Install OpenVPN client on Windows laptop

Setup Kubernetes kubectl and Minikube on Ubuntu 22.04 LTS

Install Prometheus and Grafana on the minikube cluster on EC2 instance in the monitoring namespace

Sample selenium script

update the EKS versions in different clusters

AI agent session 2024-09-12T09:36:14-07:00 by Sarang Dharmapurikar

Install kubernetes on an ec2 instance ubuntu 20.04 using kubeadm and turn this instance into a master node.

Turn an ec2 instance, ubuntu 20.04 into a kubeadm worker node. Install necessary packages and have it join the cluster.

Install Docker

Parse EDN content and give a JSON out

GitHub related tasks

Check whether a user is there on Azure AD and if the user account status is enabled

Get the input parameters of a Jenkins pipeline

Get the console output of last Jenkins job build

List my Jenkins pipelines

Get last build status for a Jenkins job

Trigger a Jenkins job with param values

List all the resource ARNs in a given region

Give me steps to do health checks on a Linux Server

Trigger for tickets which have status new/open, group DevOps, assignee None, and public comment includes a keyword

Process Zendesk Ticket for updating comments (auto reply)

Add a public comment to a Zendesk Ticket

Identify list out IAM users list in AWS using dagknows

Restoring an AWS Redshift Cluster from a Snapshot

Notify about disk space before cleaning up

Set an AWS IAM Password Policy

Enforce Password Change for AWS IAM Users

Managing workspaces and access control

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

DagKnows enables you to create multiple workspaces. Think of a workspace like a project. In a typical enterprise, you may have multiple teams who want isolation of their runbooks. Workspace is the way to handle it. You can create multiple workspaces, one for each team, and assign permissions to users so they can do various things on those workspaces. Please refer to the following figure:


It shows an example where

  • We have three users: userA, userB, userC
  • We have two workspaces: workspaceABC and workspaceXYZ
  • userA has role1 on workspaceABC and role2 on workspaceXYZ
  • userB has role1 on workspaceABC and no role on workspaceXYZ
  • userC has role3 on workspaceXYZ and no role on workspace ABC
  • So we have three roles. The privileges associated with a role can be defined using a matrix as shown in the figure.


Thus, you can control the privileges at the finest granularity for users by defining your own custom roles and assigning them to users. Please take a look at the various privileges in the first column. We have privileges regarding tasks such as viewing, editing, deleting code, input/output, etc. Likewise, we have privileges regarding jobs. When you execute a task, it creates a job. You you can control who can stop a job that's already started as well as view, delete job results. Note that the privilege to "start" a job is with a task as task.execute but privilege to stop a job is with jobs.


Next we can see how to create workspace and how to create custom roles and assign the roles to users.

  1. 1

    How to create a workspace

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    • Go to Settings (left nav bar)
    • Go to Access Control tab
    • Find the table for workspace management
    • Specify the workspace name you want to add. No special characters.
    • Specify the Default role you want to assign to any user for this workspace. If no roles should be assigned to a user by default, don't select anything.
    • Then click Add.



    • Ensure that the new workspace shows up in the table.


    1
  2. 2

    How to create a workspace role

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    1. Go to Settings
    2. Go to Access Control tab
    3. Find the button Add Custom Role
    4. Specify the name of the role. It can be any string with no special characters.
    5. Click Add
    6. Ensure that the role column appears in the roles table below.
    7. Now click on the check boxes to give desired privileges to this role. They are automatically saved.
    2
  3. 3

    How to assign a workspace role to a user

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    • Go to Users in the left nav bar
    • Find the user you want to assign the role to
    • Click Modify settings. This will open the user's settings on the right hand side.
    • In the section DagKnows roles find the workspace and select the role to assign from the dropdown.
    • Click Modify button at the bottom to save the changes


    3