Sign in

Expert in handling Thanos API interactions for querying metrics, listing series, and inspecting labels

Expert in handling Promtheus API interactions for querying metrics, listing series, and inspecting labels

What is an "Expert"? How do we create our own expert?

Add Jenkins credentials

Add a key-value pair

Add credentials for various integrations

Add AWS credentials

Add Jira credentials

Add Slack credentials

Add Grafana credentials

Add Azure credentials

Add GitHub credentials

Process Grafana Alerts

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

(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

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

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

    List credentials

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

    List all the credential labels available or accessible for users with a given proxy role

    Inputs:

    • proxyrole: The proxy role for which we want to list credential labels
    dkv credentials list --role <proxyrole>
    copied
    1
  2. 2

    Add credentials

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

    Using this task you can add credentials to the vault

    Inputs:

    • cred_label : Give a label to the credentials so that you can reference it in your code. No special characters.
    • type: specify type of credentials [ssh, winrm, jwt, basicauth]
    • username: some username with the credentials
    • password: This should be password for ssh, winrm, basicauth or API token for basicauth or jwt
    • proxyrole: The proxy role that has access to these credentials
    cmd = f"dkv credentials add {cred_label} --role {proxyrole} --conn-type {cred_type} --username {username} --password {password}" op = _exe(None, cmd) print(op)
    copied
    2
  3. 3

    Delete credentials

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

    This command will delete credentials with a given credential label

    Inputs:

    • cred_label : The label of the credentials to delete
    • proxyrole: The proxy role under which the credentials are available
    dkv credentials delete <cred_label> --role <proxyrole>
    copied
    3
  4. 4

    View credentials

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

    This command allows you to view the stored credentials. Be very careful!

    Inputs:

    • cred_label: The label of the credential to view
    • proxyrole: The proxy role under which the credentials are stored
    dkv credentials get <cred_label> --role <proxyrole>
    copied
    4
  5. 5

    List keys of the key-value pairs

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

    This command allows you to list all the keys stored under a proxy role

    Inputs:

    • proxyrole: The proxy role under which the keys are stored
    dkv keys list --role <proxyrole>
    copied
    5
  6. 6

    Add a key-value pair

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

    This command allows you to create a key-value pair

    Inputs:

    • key: The key to store
    • value: The value associated with the key
    • proxyrole: The role under which this key value pair is stored
    dkv keys set <key> --value <value> --role <proxyrole>
    copied
    6
  7. 7

    Get the value of a key

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

    This command allows you to get the value associated with a key

    Inputs:

    • key: The key to get value of
    • proxyrole: The role under which this key value pair is stored


    dkv keys get <key> --role <proxyrole>
    copied
    7
  8. 8

    List the IP addresses

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    dkv ips list
    copied
    8
  9. 9

    Add an IP address along with default credential label

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
    dkv ips add <ip_addr> --cred-label <cred_label>
    copied
    9
  10. 10

    Add ssh-key credentials

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

    Using this task you can add credentials to the vault

    Inputs:

    • cred_label : Give a label to the credentials so that you can reference it in your code. No special characters.
    • type: specify type of credentials [ssh, winrm, jwt, basicauth]
    • username: some username with the credentials
    • ssh-key-file: This should be the name of the ssh key file to be added. This needs to be saved in the folder /usr/src/app/src/keys/ on the cmd-exec container.
    • proxyrole: The proxy role that has access to these credentials
    cmd = f"dkv credentials add {cred_label} --role {proxyrole} --conn-type {cred_type} --username {username} --ssh-key-file {ssh_key_file_name}" op = _exe(None, cmd) print(op)
    copied
    10