List workflow versions
Retrieve all versions of a workflow
Path Parameters
- workflow_id string required
Workflow identifier
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
Responses
- 200
- 404
List of workflow versions
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage stringresult object
versions object[]
id stringUnique configuration identifier
workflow_id stringParent workflow ID
org_id stringOrganization ID
version integerPossible values:
>= 1Configuration version number
data_input_config object
oneOf- MOD1
type stringPossible values: [
detection]Data input type discriminator
scim_filter stringPossible values:
non-emptySCIM filter string to apply when querying detections. Examples:
severity eq "critical"type eq "aws_identity_unused" and status eq "new"entity_type eq "aws_iam_user"severity eq "critical" or severity eq "high"
limit integerPossible values:
<= 10000Maximum number of detections to retrieve (0 for no limit)
sorting object[]
Sorting configuration for results
field stringField to sort by
direction stringPossible values: [
asc,desc]Default value:
descSort direction
actions object[]Possible values:
>= 1List of actions to execute
created_by stringUser ID who created this version
created_at date-timeVersion creation timestamp
is_latest booleanWhether this is the latest version
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
],
"result": {
"versions": [
{
"id": "string",
"workflow_id": "string",
"org_id": "string",
"version": 0,
"data_input_config": {
"type": "detection",
"scim_filter": "string",
"limit": 0,
"sorting": [
{
"field": "string",
"direction": "desc"
}
]
},
"actions": [
{
"id": "string",
"type": "remediation",
"name": "string",
"description": "string",
"enabled": true,
"action": "suspend",
"target_type": "user",
"parameters": {},
"dry_run": false
},
{
"id": "string",
"type": "remediation",
"name": "string",
"description": "string",
"enabled": true,
"ticket_system": "jira",
"project_key": "string",
"issue_type": "string",
"title_template": "string",
"description_template": "string",
"labels": [
"string"
],
"assignee": "string",
"priority": "string"
},
{
"id": "string",
"type": "remediation",
"name": "string",
"description": "string",
"enabled": true,
"sink_type": "s3",
"connection_config": {},
"data_format": "json",
"include_fields": [
"string"
],
"transform_rules": [
{}
]
},
{
"id": "string",
"type": "remediation",
"name": "string",
"description": "string",
"enabled": true,
"url": "string",
"method": "POST",
"headers": {},
"body_template": "string",
"timeout_seconds": 30,
"retry_config": {
"max_retries": 3,
"backoff_seconds": 5
}
},
{
"id": "string",
"type": "remediation",
"name": "string",
"description": "string",
"enabled": true,
"notification_type": "email",
"recipients": [
"string"
],
"subject_template": "string",
"message_template": "string",
"severity": "warning",
"include_data": true
}
],
"created_by": "string",
"created_at": "2005-12-24T18:29:30.033157Z",
"is_latest": true
}
]
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}