Amazon CodeGuru Security · JSON Structure

Amazon Codeguru Security Code Line Structure

The line of code where a finding was detected.

Type: object Properties: 2
AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

CodeLine is a JSON Structure definition published by Amazon CodeGuru Security, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

content number

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-security/refs/heads/main/json-structure/amazon-codeguru-security-code-line-structure.json",
  "name": "CodeLine",
  "description": "The line of code where a finding was detected.",
  "type": "object",
  "properties": {
    "content": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The code that contains a vulnerability."
        }
      ]
    },
    "number": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The code line number."
        }
      ]
    }
  }
}