latestOpenAPI 3.0.32026-08-10152216352.3 KB

eea119b4113f

Governance

Get Insights by Account

Retrieves insights for a specific account with optional filtering and field projection

post/governance/insights

Query parameters

fieldsstring
Example:id,name,description,status

Comma-separated list of fields to include in the response

Request body

querystring

Search query string

frameworksstring[]

Array of framework filters

categorystring

Category filter

isDefaultboolean nullable

Default filter flag

onlySubscribedboolean

Filter for subscribed insights only

onlyProductionboolean

Filter for production insights only

onlyMatchingAssetsboolean

Filter for insights with matching assets

onlyEnabledboolean

Filter for enabled insights only

onlyAvailableProvidersboolean

Filter for available providers only

showExclusionboolean

Show exclusion rules

typestring[]

Array of type filters

providersstring[]

Array of provider filters

integrationsstring[]

Array of integration filters

pageinteger

Page number for pagination

page_sizeinteger

Number of items per page

providersAccountsstring[]

Array of provider account filters

Example request

{
  "labels": "security,compliance",
  "frameworks": [],
  "onlyAvailableProviders": true,
  "type": [],
  "providers": [],
  "integrations": [],
  "id": [
    "665088e83438d32bdda77193",
    "661bf411f3a3638decfea721"
  ],
  "page": 1,
  "page_size": 50,
  "sorting": [
    {
      "field": "name",
      "sort": "asc"
    },
    {
      "field": "createdAt",
      "sort": "desc"
    }
  ],
  "providersAccounts": [
    "awsobjects",
    "k8sobjects",
    "akamaiobjects",
    "datadogobjects",
    "oktaobjects",
    "githubobjects",
    "newrelicobjects",
    "cloudflareobjects",
    "gcpobjects",
    "pagerdutyobjects",
    "mongodbatlasobjects",
    "azurermobjects",
    "aws",
    "kubernetes",
    "akamai",
    "datadog",
    "okta",
    "github",
    "newrelic",
    "cloudflare",
    "google",
    "pagerduty",
    "mongodbatlas",
    "azurerm"
  ]
}

Response

Insights retrieved successfully

dataobject[]
totalinteger

Total number of insights

pageinteger

Current page number

page_sizeinteger

Number of items per page