List workloads
GET/c/v2/workload/
Request
Query Parameters
compliance_frameworks string
environment string
lenses string
local string
name string
client_id number
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
include_violations_counts boolean
Include violations counts for each workload in list
partner_scope_id integer
Apply partner-side logic to this endpoint
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
count integerrequired
next urinullable
previous urinullable
results
object[]
required
id ID (integer)
workload_arn Workload arn (string)nullable
Possible values: <= 255 characters
workload_id Workload id (string)nullable
Possible values: <= 255 characters
name Name (string)nullablerequired
Possible values: <= 255 characters
owner Owner (string)
created date-time
modified date-time
submitted Submitted (boolean)
local Local (boolean)
risk_counts Risk counts (string)
improvement_status Improvement status (string)
violations_counts Violations counts (string)
filters objectrequired
lenses Lenses (string)[]nullable
Possible values: non-empty
and <= 100 characters
compliance_frameworks Compliance frameworks (string)[]nullable
Possible values: non-empty
and <= 100 characters
project_id Project id (integer)required
Possible values: >= -2147483648
and <= 2147483647
client_id Client id (integer)required
Possible values: >= -2147483648
and <= 2147483647
environment Environment (string)nullable
Possible values: <= 50 characters
end_assessment_date End assessment date (string)
user_id User id (integer)required
Possible values: >= -2147483648
and <= 2147483647
created_by_user Created by user (string)
rules_risk_levels Rules risk levels (string)
jira_project objectnullable
description Description (string)nullable
druid_query_filters Druid query filters (string)
{
"count": 0,
"next": "string",
"previous": "string",
"results": [
{
"id": 0,
"workload_arn": "string",
"workload_id": "string",
"name": "string",
"owner": "string",
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"submitted": true,
"local": true,
"risk_counts": "string",
"improvement_status": "string",
"violations_counts": "string",
"filters": {},
"lenses": [
"string"
],
"compliance_frameworks": [
"string"
],
"project_id": 0,
"client_id": 0,
"environment": "string",
"end_assessment_date": "string",
"user_id": 0,
"created_by_user": "string",
"rules_risk_levels": "string",
"jira_project": {},
"description": "string",
"druid_query_filters": "string"
}
]
}
Loading...