Affected Code

affected_code

The Affected Code object describes details about a code block identified as vulnerable.

Attributes

CaptionNameTypeDescription
End Columnend_columnIntegerThe column number of the last part of the assessed code identified as vulnerable.
End Lineend_lineIntegerThe line number of the last line of code block identified as vulnerable.
FilefileFile[]Entity:FILE

Details about the file that contains the affected code block.
OwnerownerUser[]Entity:USER

Details about the user that owns the affected file.
Raw Dataraw_dataJSONGroup:context

The event data as received from the event source.
Record IDrecord_idStringGroup:primary

Unique identifier for the object
Remediation GuidanceremediationRemediation[]Describes the recommended remediation steps to address identified issue(s).
Related RuleruleRule[]Details about the specific rule, e.g., those defined as part of a larger policy, that triggered the finding.
Start Columnstart_columnIntegerThe column number of the first part of the assessed code identified as vulnerable.
Start Linestart_lineIntegerThe line number of the first line of code block identified as vulnerable.
UnmappedunmappedUnmapped[]Data from the source that was not mapped into the schema.

Relationships

Affected Code shown in context

Inbound Relationships

These objects and events reference Affected Code in their attributes:

Outbound Relationships

Affected Code references the following objects and events in its attributes:

This page describes qdm-1.5.1+ocsf-1.6.0


Did this page help you?