View a markdown version of this page

CodeLocation - AWS Security Agent

CodeLocation

Represents a location in source code associated with a security finding.

Contents

filePath

The absolute path to the file containing the code location.

Type: String

Required: Yes

label

The role of this location in the vulnerability, such as source or sink.

Type: String

Required: No

lineEnd

The ending line number of the code location.

Type: Integer

Required: No

lineStart

The starting line number of the code location.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: