For the complete documentation index, see llms.txt. This page is also available as Markdown.

System Management

APIs for system management

System Health Check

get

Perform a health check of your Cortex AgentiX environment.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Responses
200

OK

application/json
statusstringOptional

The condition of your Cortex environment.

get/public_api/v1/healthcheck
GET /public_api/v1/healthcheck HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Accept: */*
{
  "status": "text"
}

Get Tenant Info

post

Get your tenant license information.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
request_dataobjectOptional
Responses
200

OK

application/json
post/public_api/v1/system/get_tenant_info
POST /public_api/v1/system/get_tenant_info HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "request_data": {}
}
{
  "reply": {
    "xsiam_premium_expiration": 12478046378,
    "purchased_xsiam_premium": {
      "users": 100,
      "gb": 100,
      "agents": 500
    },
    "pro_per_endpoint_expiration": 12478046378,
    "purchased_pro_per_endpoint": {
      "agents": 200
    },
    "data_enabled_pro_per_endpoint": 26,
    "prevent_expiration": 0,
    "purchased_prevent": 0,
    "installed_prevent": 27,
    "pro_tb_expiration": 12478046378,
    "purchased_pro_gb": {
      "gb": 1
    },
    "installed_pro_tb": 0,
    "compute_unit_expiration": 0,
    "purchased_compute_unit": 16,
    "host_insights_expiration": 12478046378,
    "enabled_host_insights": 26,
    "purchased_host_insights": 400,
    "forensics_expiration": 0,
    "enabled_forensics": 12
  }
}

Get Users

post

Retrieve a list of the current users in your environment.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
objectOptional
Responses
200

OK

application/json
post/public_api/v1/rbac/get_users
POST /public_api/v1/rbac/get_users HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "reply": [
    {
      "user_email": "user1@acme.com",
      "user_first_name": "<first name>",
      "user_last_name": "<last name>",
      "role_name": "Account Admin",
      "last_logged_in": 1640024700241,
      "user_type": "CSP",
      "groups": [],
      "scope": []
    },
    {
      "user_email": "user2@acme.com",
      "user_first_name": "<first name>",
      "user_last_name": "<last name>",
      "role_name": "Account Admin",
      "last_logged_in": null,
      "user_type": "CSP",
      "groups": [],
      "scope": []
    },
    {
      "user_email": "user3@acme.com",
      "user_first_name": "<first name>",
      "user_last_name": "<last name>",
      "role_name": "Investigator",
      "last_logged_in": null,
      "user_type": "CSP",
      "groups": [],
      "scope": []
    }
  ]
}

Get Roles

post

Retrieve information about one or more roles created in your environment.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
post/public_api/v1/rbac/get_roles
POST /public_api/v1/rbac/get_roles HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 49

{
  "request_data": {
    "role_names": [
      "Role1",
      "Role2"
    ]
  }
}
{
  "reply": [
    [
      {
        "pretty_name": "Role1",
        "permissions": [
          "Reports",
          "Playbooks",
          "Datasets Access Control",
          "Dashboards",
          "Scripts"
        ],
        "insert_time": 1658315576844,
        "update_time": null,
        "created_by": "user1@acme.com",
        "description": "",
        "groups": [
          "group1",
          "group2"
        ],
        "users": []
      }
    ],
    [
      {
        "pretty_name": "Role2",
        "permissions": [
          "Dashboards",
          "Datasets Access Control"
        ],
        "insert_time": 1661435660656,
        "update_time": null,
        "created_by": "user1@acme.com",
        "description": "",
        "groups": [],
        "users": []
      }
    ]
  ]
}

Get User Groups

post

Retrieve a list of the current user emails associated with one or more user groups in your environment.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
post/public_api/v1/rbac/get_user_group
POST /public_api/v1/rbac/get_user_group HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "request_data": {
    "group_names": [
      "Group1",
      "Group2"
    ]
  }
}
{
  "reply": [
    {
      "group_name": "Group1",
      "description": null,
      "pretty_name": "Investigator",
      "insert_time": 1661170832341,
      "update_time": 1661171650679,
      "user_email": [
        "user1@acme.com",
        "user2@pacme.com",
        "user3@acme.com",
        "user4@acme.com",
        "user5@acme.com"
      ],
      "source": "Custom"
    },
    {
      "group_name": "Group2",
      "description": null,
      "pretty_name": "Instance Administrator",
      "insert_time": 1660830450590,
      "update_time": 1661171631589,
      "user_email": [
        "user1@acme.com",
        "user2@acme.com",
        "user3@acme.com",
        "user4@acme.com"
      ],
      "source": "Custom"
    }
  ]
}

Set a User Role

post

Add or remove one or more users from a role.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
post/public_api/v1/rbac/set_user_role
POST /public_api/v1/rbac/set_user_role HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "request_data": {
    "user_emails": [
      "user1@acme.com",
      "user2@acme.com"
    ],
    "role_name": "Role1"
  }
}
{
  "reply": {
    "update_count": "2"
  }
}

Last updated

Was this helpful?