Response containing a list of AI memory violation results.
Expand All
Field
Type
Description
data [required]
[object]
The list of AI memory violation results.
attributes [required]
object
Response attributes of an AI memory violation result.
created_at [required]
date-time
The creation timestamp.
created_by [required]
string
The identifier of the user who created the result.
line [required]
int64
The line number where the violation was found.
message [required]
string
A message explaining the violation result.
name [required]
string
The file path where the violation was found.
repository_id [required]
string
The repository identifier.
rule [required]
string
The rule identifier in the format ruleset/rule.
sha [required]
string
The git commit SHA where the violation was found.
type [required]
enum
The type of AI memory violation result indicating whether it is a true positive or false positive.
Allowed enum values: TP,FP
id [required]
string
The numeric identifier of the violation result.
type [required]
enum
AI memory violation result resource type.
Allowed enum values: ai_memory_violation_result
{"data":[{"attributes":{"created_at":"2024-01-01T00:00:00+00:00","created_by":"example-handle","line":10,"message":"This is a false positive because the input is sanitized.","name":"src/main.py","repository_id":"my-repo","rule":"my-ai-ruleset/my-ai-rule","sha":"abc123def456789012345678901234567890abcd","type":"FP"},"id":"42","type":"ai_memory_violation_result"}]}