Security Monitoring
Create an inbox rule
Create an inbox rule for the current organization.
post/api/v2/security/findings/automation/inbox_rules
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"action": {
"description": "Needs triage"
},
"enabled": true,
"name": "Triage production misconfigurations",
"rule": {
"finding_types": [
"misconfiguration"
],
"query": "env:prod team:platform"
}
},
"type": "inbox_rules"
}
}Response
Successfully created the inbox rule
Example response
{
"data": {
"attributes": {
"action": {
"description": "Needs triage"
},
"created_at": 1722439510282,
"created_by": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Jane Doe",
"type": "user"
},
"enabled": true,
"modified_at": 1722439510282,
"modified_by": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Jane Doe",
"type": "user"
},
"name": "Triage production misconfigurations",
"rule": {
"finding_types": [
"misconfiguration"
],
"query": "env:prod team:platform"
}
},
"id": "00000000-0000-0000-0000-000000000000",
"type": "inbox_rules"
}
}Changes
Changes to this operation have not been checked yet.