StackRox · Example Payload

Stackrox List Alerts Example

Retrieve active security alerts from StackRox

ComplianceContainer SecurityKubernetesOpen SourceRuntime ProtectionSecurity

Stackrox List Alerts Example is an example object payload from StackRox, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "List Alerts Example",
  "description": "Retrieve active security alerts from StackRox",
  "request": {
    "method": "GET",
    "url": "https://stackrox.example.com/v1/alerts?query=Severity%3AHIGH&pagination.limit=25",
    "headers": {
      "Authorization": "Bearer {{STACKROX_API_TOKEN}}"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "alerts": [
        {
          "id": "alert-001",
          "state": "ACTIVE",
          "lifecycleStage": "DEPLOY",
          "policy": {
            "id": "policy-001",
            "name": "Privileged Container",
            "severity": "HIGH_SEVERITY",
            "categories": ["Container Configuration"]
          },
          "deployment": {
            "id": "deploy-001",
            "name": "payment-service",
            "namespace": "production",
            "clusterId": "cluster-001",
            "clusterName": "prod-eks-us-east-1"
          },
          "time": "2026-05-02T10:15:00Z",
          "firstOccurred": "2026-05-02T10:15:00Z"
        }
      ]
    }
  }
}