Modify Data
Table of Contents
Jira
https://example-org.atlassian.netadmin@example.com[REDACTED_JIRA_API_TOKEN]CLOUDPossible values: Jira project added/updated successfully
Forbidden — caller lacks INTEGRATIONS / READ_WRITE permission
Unprocessable — project mappings empty or project metadata fetch failed
POST /api/jira/add HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 227
{
"baseUrl": "https://example-org.atlassian.net",
"userEmail": "admin@example.com",
"apiToken": "[REDACTED_JIRA_API_TOKEN]",
"jiraType": "CLOUD",
"projectMappings": {
"SCRUM": {
"biDirectionalSyncSettings": {
"enabled": false
},
"statuses": []
}
}
}{
"jiraIntegration": {
"baseUrl": "https://example-org.atlassian.net",
"userEmail": "admin@example.com",
"projectIdsMap": {
"SCRUM": [
{
"issueId": "10001",
"issueType": "Bug"
},
{
"issueId": "10002",
"issueType": "Story"
}
]
},
"projectMappings": {
"SCRUM": {
"biDirectionalSyncSettings": {
"enabled": false
},
"statuses": []
}
},
"createdTs": 1766398064,
"updatedTs": 1766398064
}
}Jira project key to remove
SCRUMProject removed successfully
Forbidden
Unprocessable — projId null or integration not found
POST /api/jira/delete HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"projId": "SCRUM"
}{}SCRUMpriorityMap of Akto severity → Jira field value ID
{"HIGH":"1","MEDIUM":"3","LOW":"5"}Priority mapping saved
Forbidden
Unprocessable
POST /api/jira/savePriorityFieldMapping HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"projId": "SCRUM",
"fieldId": "priority",
"fieldValuesMap": {
"HIGH": "1",
"MEDIUM": "3",
"LOW": "5"
}
}{}Jira issue created
SCRUM-42https://example-org.atlassian.net/browse/SCRUM-42Forbidden
Unprocessable — Jira not integrated or Jira API error
POST /api/createJiraIssue HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 197
{
"jiraMetaData": {
"testingIssueId": {
"apiInfoKey": {
"apiCollectionId": 1748293710,
"url": "https://api.example.com/v1/users",
"method": "GET"
},
"testSubCategory": "BOLA"
},
"projId": "SCRUM",
"issueType": "Bug"
}
}{
"jiraTicketKey": "SCRUM-42",
"jiraTicketUrl": "https://example-org.atlassian.net/browse/SCRUM-42"
}Bulk Jira tickets created
Forbidden
Unprocessable
POST /api/bulkCreateJiraTickets HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"testingRunIssueIds": [
{
"apiInfoKey": {
"apiCollectionId": 1748293710,
"url": "https://api.example.com/v1/users",
"method": "GET"
},
"testSubCategory": "BOLA"
}
],
"jiraMetaData": {
"projId": "SCRUM",
"issueType": "Bug"
}
}{}Raw HTTP request/response sample (original traffic)
[RAW_HTTP_SAMPLE]Raw HTTP request/response sample (test attempt)
[RAW_HTTP_TEST_SAMPLE]Jira issue key
SCRUM-42File attached to issue
Forbidden
Unprocessable — Jira not integrated or attachment failed
POST /api/attachFileToIssue HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"origReq": "[RAW_HTTP_SAMPLE]",
"testReq": "[RAW_HTTP_TEST_SAMPLE]",
"issueId": "SCRUM-42"
}{}SCRUMBugPotential BOLA vulnerability on /api/v1/users endpointUnauthorized access to other users' data was detected.security,akto4a3502a0-ab5f-4255-9628-aae3b0ef33bdTHREATJira ticket created
https://example-org.atlassian.net/browse/SCRUM-43Forbidden
Unprocessable — Jira not integrated
POST /api/createGeneralJiraTicket HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 278
{
"projId": "SCRUM",
"issueType": "Bug",
"title": "Potential BOLA vulnerability on /api/v1/users endpoint",
"description": "Unauthorized access to other users' data was detected.",
"labels": "security,akto",
"threatEventId": "4a3502a0-ab5f-4255-9628-aae3b0ef33bd",
"actionItemType": "THREAT"
}{
"jiraTicketUrl": "https://example-org.atlassian.net/browse/SCRUM-43"
}Azure Boards
https://dev.azure.comexample-corp["AktoSecurity","InfraTeam"][REDACTED_AZURE_PAT]Integration saved
Forbidden
Unprocessable — invalid credentials or project not found
POST /api/addAzureBoardsIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"azureBoardsBaseUrl": "https://dev.azure.com",
"organization": "example-corp",
"projectList": [
"AktoSecurity",
"InfraTeam"
],
"personalAuthToken": "[REDACTED_AZURE_PAT]"
}{}Integration removed
Forbidden
POST /api/removeAzureBoardsIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}BugAktoSecurityhttps://app.akto.example.com4a3502a0-ab5f-4255-9628-aae3b0ef33bdBOLA vulnerability on /api/v1/usersUnauthorized data access detected.Work item created
https://dev.azure.com/example-corp/AktoSecurity/_workitems/edit/42Forbidden
Unprocessable — integration not configured
POST /api/createAzureBoardsWorkItem HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 403
{
"workItemType": "Bug",
"projectName": "AktoSecurity",
"testingIssuesId": {
"apiInfoKey": {
"apiCollectionId": 1748293710,
"url": "https://api.example.com/v1/users",
"method": "GET"
},
"testSubCategory": "BOLA"
},
"aktoDashboardHostName": "https://app.akto.example.com",
"threatEventId": "4a3502a0-ab5f-4255-9628-aae3b0ef33bd",
"title": "BOLA vulnerability on /api/v1/users",
"description": "Unauthorized data access detected."
}{
"azureBoardsWorkItemUrl": "https://dev.azure.com/example-corp/AktoSecurity/_workitems/edit/42"
}Array of TestingIssuesId objects
AktoSecurityBughttps://app.akto.example.comWork items created
Forbidden
Unprocessable
POST /api/bulkCreateAzureWorkItems HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 133
{
"testingIssuesIdList": [
{}
],
"projectName": "AktoSecurity",
"workItemType": "Bug",
"aktoDashboardHostName": "https://app.akto.example.com"
}{}BugAktoSecurityThreat detected on /api/v1/chat endpointPrompt injection attempt detected at 2024-01-15 14:32 UTC4a3502a0-ab5f-4255-9628-aae3b0ef33bdfilter-template-uuid-001/api/v1/chat[RAW_HTTP_SAMPLE]Work item created
https://dev.azure.com/example-corp/AktoSecurity/_workitems/edit/43Forbidden
Unprocessable — integration not configured
POST /api/createGeneralAzureBoardsWorkItem HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 335
{
"workItemType": "Bug",
"projectName": "AktoSecurity",
"title": "Threat detected on /api/v1/chat endpoint",
"description": "Prompt injection attempt detected at 2024-01-15 14:32 UTC",
"threatEventId": "4a3502a0-ab5f-4255-9628-aae3b0ef33bd",
"templateId": "filter-template-uuid-001",
"endpoint": "/api/v1/chat",
"originalMessage": "[RAW_HTTP_SAMPLE]"
}{
"azureBoardsWorkItemUrl": "https://dev.azure.com/example-corp/AktoSecurity/_workitems/edit/43"
}Datadog
[REDACTED_DATADOG_API_KEY][REDACTED_DATADOG_APP_KEY]datadoghq.com["payment-service","auth-service","api-gateway"]Datadog config saved; hourly traffic collection job scheduled
Forbidden
Unprocessable — missing API key, app key, or site
POST /api/saveDataDogConfigs HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"datadogApiKey": "[REDACTED_DATADOG_API_KEY]",
"datadogAppKey": "[REDACTED_DATADOG_APP_KEY]",
"datadogSite": "datadoghq.com",
"serviceNames": [
"payment-service",
"auth-service",
"api-gateway"
]
}{}[REDACTED_DATADOG_API_KEY]datadoghq.comtrueDatadog integration saved
Forbidden
Unprocessable
POST /api/addDatadogIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"apiKey": "[REDACTED_DATADOG_API_KEY]",
"datadogSite": "datadoghq.com",
"enabled": true
}{}Datadog integration deleted
Forbidden
POST /api/deleteDatadogIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}[REDACTED_DATADOG_API_KEY]datadoghq.comTest event sent successfully
Forbidden
Unprocessable — connection test failed
POST /api/testDatadogIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"apiKey": "[REDACTED_DATADOG_API_KEY]",
"datadogSite": "datadoghq.com"
}{}Splunk
http://splunk.example.com:8088/services/collector[REDACTED_SPLUNK_TOKEN]Splunk integration saved
Forbidden
Unprocessable
POST /api/addSplunkIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"splunkUrl": "http://splunk.example.com:8088/services/collector",
"splunkToken": "[REDACTED_SPLUNK_TOKEN]"
}{}Azure Data Explorer (ADX)
https://akto-cluster.eastus.kusto.windows.netAktoThreatDBa1b2c3d4-e5f6-7890-abcd-ef1234567890b2c3d4e5-f6a7-8901-bcde-f12345678901Azure AD application client secret. Required on first save; can be omitted on subsequent updates to keep the stored value.
[REDACTED_ADX_APP_KEY]ADX integration saved
Forbidden
Unprocessable — missing required fields
POST /api/addAdxIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 250
{
"clusterEndpoint": "https://akto-cluster.eastus.kusto.windows.net",
"databaseName": "AktoThreatDB",
"tenantId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"applicationClientId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"applicationKey": "[REDACTED_ADX_APP_KEY]"
}{}DevRev
https://app.devrev.ai/example-org[REDACTED_DEVREV_PAT]DevRev integration saved
Forbidden
Unprocessable
POST /api/addDevRevIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"orgUrl": "https://app.devrev.ai/example-org",
"personalAccessToken": "[REDACTED_DEVREV_PAT]"
}{}Array of TestingIssuesId objects
PROD-001issuehttps://app.akto.example.comDevRev tickets created
Forbidden
Unprocessable — integration not configured
POST /api/createDevRevTickets HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 122
{
"testingIssuesIdList": [
{}
],
"partId": "PROD-001",
"workItemType": "issue",
"aktoDashboardHost": "https://app.akto.example.com"
}{}ServiceNow
https://example.service-now.comc3d4e5f6a7b8c9d0[REDACTED_SNOW_CLIENT_SECRET]["incident","problem"]ServiceNow integration saved
Forbidden
Unprocessable
POST /api/addServiceNowIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"instanceUrl": "https://example.service-now.com",
"clientId": "c3d4e5f6a7b8c9d0",
"clientSecret": "[REDACTED_SNOW_CLIENT_SECRET]",
"tableNames": [
"incident",
"problem"
]
}{}ServiceNow integration removed
Forbidden
POST /api/removeServiceNowIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}incidenthttps://app.akto.example.comServiceNow ticket created
https://example.service-now.com/nav_to.do?uri=incident.do?sys_id=abc123INC0012345Forbidden
Unprocessable — integration not configured or API error
POST /api/createServiceNowTicket HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"testingIssuesId": {
"apiInfoKey": {
"apiCollectionId": 1748293710,
"url": "https://api.example.com/v1/users",
"method": "GET"
},
"testSubCategory": "BOLA"
},
"tableName": "incident",
"aktoDashboardHostName": "https://app.akto.example.com"
}{
"serviceNowTicketUrl": "https://example.service-now.com/nav_to.do?uri=incident.do?sys_id=abc123",
"serviceNowTicketNumber": "INC0012345"
}incidenthttps://app.akto.example.comServiceNow tickets created
Forbidden
Unprocessable
POST /api/bulkCreateServiceNowTickets HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"testingIssuesIdList": [
{}
],
"tableName": "incident",
"aktoDashboardHostName": "https://app.akto.example.com"
}{}Microsoft Defender
a1b2c3d4-e5f6-7890-abcd-ef1234567890d4e5f6a7-b8c9-0123-def0-123456789012[REDACTED_DEFENDER_SECRET]https://akto-ingestion.example.comPolling interval for Advanced Hunting jobs (default: 3600)
3600Integration saved; recurring job created or updated
Forbidden
Unprocessable — missing required fields
POST /api/addMicrosoftDefenderIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 233
{
"tenantId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"clientId": "d4e5f6a7-b8c9-0123-def0-123456789012",
"clientSecret": "[REDACTED_DEFENDER_SECRET]",
"dataIngestionUrl": "https://akto-ingestion.example.com",
"recurringIntervalSeconds": 3600
}{}Integration removed
Forbidden
POST /api/removeMicrosoftDefenderIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Script content (PowerShell or Bash)
#!/bin/bash echo 'Akto guardrail check'akto-guardrail-check.shScript uploaded to Defender library
Forbidden
Unprocessable
POST /api/uploadDefenderScript HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"scriptContent": "#!/bin/bash\necho 'Akto guardrail check'\n",
"scriptName": "akto-guardrail-check.sh"
}{}DeviceNetworkEvents | where RemoteIP == '192.0.2.48' | limit 10prod-api-server-01KQL query results returned
Query result rows; column names vary by query
[{"DeviceName":"prod-api-server-01","RemoteIP":"192.0.2.48","RemotePort":443,"Timestamp":"2024-01-15T14:30:00Z"}]Forbidden
Unprocessable — integration not configured or KQL error
POST /api/runDefenderKqlQuery HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"kqlQuery": "DeviceNetworkEvents | where RemoteIP == '192.0.2.48' | limit 10",
"agentName": "prod-api-server-01"
}{
"kqlResults": [
{
"DeviceName": "prod-api-server-01",
"RemoteIP": "192.0.2.48",
"RemotePort": 443,
"Timestamp": "2024-01-15T14:30:00Z"
}
]
}["a1b2c3d4e5f6789012345678901234567890abcd"]Script name in the Defender library
akto-guardrail-check.shInput parameters passed to the script
AKTO_DATA_INGESTION_URL=https://akto-ingestion.example.comLive response completed
Forbidden
Unprocessable
POST /api/runDefenderLiveResponse HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 177
{
"deviceIds": [
"a1b2c3d4e5f6789012345678901234567890abcd"
],
"scriptName": "akto-guardrail-check.sh",
"scriptParameters": "AKTO_DATA_INGESTION_URL=https://akto-ingestion.example.com"
}{
"liveResponseResults": [
{
"deviceId": "a1b2c3d4e5f6789012345678901234567890abcd",
"status": "Succeeded",
"output": "Guardrail installed successfully."
}
]
}Array of KQL result row objects to ingest
prod-api-server-01KQL results ingested
Forbidden
Unprocessable
POST /api/ingestDefenderKqlResults HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"kqlResults": [
{}
],
"agentName": "prod-api-server-01"
}{}SentinelOne
https://example.sentinelone.nethttps://akto-ingestion.example.comSentinelOne API token. Required on first save; omit to keep the existing token.
[REDACTED_S1_API_TOKEN]Agent data collection interval (default: 3600)
3600Integration saved; recurring job created/updated
Forbidden
Unprocessable — missing required fields
POST /api/addSentinelOneIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"consoleUrl": "https://example.sentinelone.net",
"dataIngestionUrl": "https://akto-ingestion.example.com",
"apiToken": "[REDACTED_S1_API_TOKEN]",
"recurringIntervalSeconds": 3600
}{}Integration removed
Forbidden
POST /api/removeSentinelOneIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Script ID from the SentinelOne script library
script-library-id-001["1234567890123456789","9876543210987654321"]Akto guardrail installationSpace-separated key=value environment variable pairs
AKTO_DATA_INGESTION_URL=https://akto-ingestion.example.comScript execution initiated
Use with getSentinelOneScriptTaskStatus to poll for completion
task-uuid-abc123def456Forbidden
Unprocessable — scriptId or agentIds missing
POST /api/executeSentinelOneRemoteScript HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 237
{
"scriptId": "script-library-id-001",
"executeAgentIds": [
"1234567890123456789",
"9876543210987654321"
],
"executeTaskDescription": "Akto guardrail installation",
"executeInputParams": "AKTO_DATA_INGESTION_URL=https://akto-ingestion.example.com"
}{
"parentTaskId": "task-uuid-abc123def456"
}Generic Integrations
https://example-org.atlassian.netComma-separated project keys
SCRUM,APIadmin@example.com[REDACTED_JIRA_API_TOKEN]CLOUDPossible values: Credentials valid; issue types resolved
Map of project key to resolved issue type list
{"SCRUM":[{"issueId":"10001","issueType":"Bug"},{"issueId":"10002","issueType":"Story"}]}Forbidden
Unprocessable — invalid credentials or project not found
POST /api/testIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"baseUrl": "https://example-org.atlassian.net",
"projId": "SCRUM,API",
"userEmail": "admin@example.com",
"apiToken": "[REDACTED_JIRA_API_TOKEN]",
"jiraType": "CLOUD"
}{
"projectAndIssueMap": {
"SCRUM": [
{
"issueId": "10001",
"issueType": "Bug"
},
{
"issueId": "10002",
"issueType": "Story"
}
]
}
}https://example-org.atlassian.netSCRUMadmin@example.com[REDACTED_JIRA_API_TOKEN]BugCLOUDPossible values: Map of project key to issue type list (from testIntegration response)
Map of project key to mapping settings
Jira integration saved
Forbidden
POST /api/addIntegration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 217
{
"baseUrl": "https://example-org.atlassian.net",
"projId": "SCRUM",
"userEmail": "admin@example.com",
"apiToken": "[REDACTED_JIRA_API_TOKEN]",
"issueType": "Bug",
"jiraType": "CLOUD",
"projectAndIssueMap": {},
"projectMappings": {}
}{}Connection type to mark as skipped
SLACK_ALERTSPossible values: Connection marked as skipped
Forbidden
Unprocessable — connectionSkipped is null
POST /api/markConnectionAsSkipped HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"connectionSkipped": "SLACK_ALERTS"
}{}Slack Webhooks
https://hooks.slack.com/services/[REDACTED_SLACK_WEBHOOK_PATH]security-alertshttps://app.akto.example.com3600Slack webhook added
Forbidden
Unprocessable
POST /api/addSlackWebhook HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"webhookUrl": "https://hooks.slack.com/services/[REDACTED_SLACK_WEBHOOK_PATH]",
"webhookName": "security-alerts",
"dashboardUrl": "https://app.akto.example.com",
"frequencyInSeconds": 3600
}{}security-alertsSlack webhook deleted
Forbidden
POST /api/deleteSlackWebhook HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"webhookName": "security-alerts"
}{}Custom Webhooks
new-endpoint-notifierhttps://hooks.example.com/akto-eventsPOSTPossible values: JSON string of headers to include
{"Authorization": "Bearer [REDACTED_WEBHOOK_TOKEN]", "Content-Type": "application/json"}JSON template for the webhook payload
{"event": "NEW_ENDPOINT", "url": "{{url}}", "collection": "{{collection}}"}3600ACTIVEPossible values: ["NEW_ENDPOINT","NEW_SENSITIVE_ENDPOINT"]100falseGENERALCustom webhook created
Forbidden
Unprocessable — validation failed (invalid URL, method, etc.)
POST /api/addCustomWebhook HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 573
{
"webhookName": "new-endpoint-notifier",
"url": "https://hooks.example.com/akto-events",
"method": "POST",
"headerString": "{\"Authorization\": \"Bearer [REDACTED_WEBHOOK_TOKEN]\", \"Content-Type\": \"application/json\"}",
"queryParams": "",
"body": "{\"event\": \"NEW_ENDPOINT\", \"url\": \"{{url}}\", \"collection\": \"{{collection}}\"}",
"frequencyInSeconds": 3600,
"activeStatus": "ACTIVE",
"selectedWebhookOptions": [
"NEW_ENDPOINT",
"NEW_SENSITIVE_ENDPOINT"
],
"newEndpointCollections": [],
"newSensitiveEndpointCollections": [],
"batchSize": 100,
"sendInstantly": false,
"webhookType": "GENERAL"
}{}new-endpoint-notifierExistence check result
trueForbidden
POST /api/checkWebhook HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"webhookName": "new-endpoint-notifier"
}{
"webhookPresent": true
}Existing custom webhook ID
7new-endpoint-notifierhttps://hooks.example.com/akto-eventsPOSTPossible values: {"Authorization": "Bearer [REDACTED_WEBHOOK_TOKEN]"}{"event": "NEW_ENDPOINT", "url": "{{url}}"}1800ACTIVEPossible values: ["NEW_ENDPOINT"]Webhook updated
Forbidden
Unprocessable — validation failed
POST /api/updateCustomWebhook HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 352
{
"id": 7,
"webhookName": "new-endpoint-notifier",
"url": "https://hooks.example.com/akto-events",
"method": "POST",
"headerString": "{\"Authorization\": \"Bearer [REDACTED_WEBHOOK_TOKEN]\"}",
"queryParams": "",
"body": "{\"event\": \"NEW_ENDPOINT\", \"url\": \"{{url}}\"}",
"frequencyInSeconds": 1800,
"activeStatus": "ACTIVE",
"selectedWebhookOptions": [
"NEW_ENDPOINT"
]
}{}Last updated