{"openapi":"3.1.0","info":{"title":"AgentDAST Security Brief API","version":"1.0.0","description":"Free public access to original AgentDAST incident briefs. No API key. Cite the article and preserve its source links. This is not a Cloudflare API or an endorsed Cloudflare service."},"servers":[{"url":"https://agentdast.com"}],"paths":{"/api/incidents":{"get":{"operationId":"listIncidents","summary":"List incident briefs, newest updates first","security":[],"parameters":[{"name":"q","description":"Text search across title, summary and identifiers","schema":{"type":"string"},"in":"query","required":false},{"name":"cve","description":"Exact CVE or advisory identifier, case insensitive","schema":{"type":"string"},"in":"query","required":false},{"name":"stack","description":"Case insensitive substring of a stack component name","schema":{"type":"string"},"in":"query","required":false},{"name":"since","description":"Only records updated strictly after this RFC 3339 timestamp","schema":{"type":"string","format":"date-time"},"in":"query","required":false},{"name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"in":"query","required":false},{"name":"offset","schema":{"type":"integer","minimum":0,"default":0},"in":"query","required":false}],"responses":{"200":{"description":"Published briefs","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Incident"}},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"next_offset":{"type":["integer","null"]}}}}}}}},"304":{"description":"Unchanged"},"400":{"description":"Invalid filters"}}}},"/api/incidents/{slug}":{"get":{"operationId":"getIncident","summary":"Read one published incident brief","security":[],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Published brief","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Incident"}}}},"304":{"description":"Unchanged"},"404":{"description":"Unknown incident"}}}}},"components":{"schemas":{"Incident":{"type":"object","properties":{"slug":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":1,"maxLength":140},"description":{"type":"string","minLength":1,"maxLength":220},"published":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"updated":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"reported":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"category":{"type":"string","enum":["Incident","Vulnerability"]},"identifiers":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"summary":{"type":"string","minLength":1,"maxLength":1800},"affected":{"type":"string","minLength":1,"maxLength":1400},"stack":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":150},"versions":{"type":"string","minLength":1,"maxLength":250},"condition":{"type":"string","minLength":1,"maxLength":600},"fixed":{"type":"string","minLength":1,"maxLength":500}},"required":["name","versions","condition"],"additionalProperties":false}},"severity":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"detail":{"type":"string","minLength":1,"maxLength":1000},"basis":{"type":"string","minLength":1,"maxLength":500}},"required":["label","detail","basis"],"additionalProperties":false},"actions":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":700}},"context":{"type":"string","minLength":1,"maxLength":1000},"sources":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":140},"url":{"type":"string","format":"uri"}},"required":["name","url"],"additionalProperties":false}},"url":{"type":"string","format":"uri"},"author":{"type":"object"},"updated_at":{"type":"string","format":"date-time"},"source_revision":{"type":["object","null"],"description":"Discovery source URL, GUID and content revision. Original source text is not redistributed."}},"required":["slug","title","description","published","updated","reported","category","identifiers","summary","affected","stack","severity","actions","context","sources"],"additionalProperties":true}}}}