Amazon CodeGuru Security · JSON Structure

Amazon Codeguru Security Vulnerability Structure

Information about a security vulnerability that Amazon CodeGuru Security detected.

Type: object Properties: 5
AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

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

Properties

filePath id itemCount referenceUrls relatedVulnerabilities

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-vulnerability-structure.json",
  "name": "Vulnerability",
  "description": "Information about a security vulnerability that Amazon CodeGuru Security detected.",
  "type": "object",
  "properties": {
    "filePath": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FilePath"
        },
        {
          "description": " An object that describes the location of the detected security vulnerability in your code."
        }
      ]
    },
    "id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The identifier for the vulnerability."
        }
      ]
    },
    "itemCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": " The number of times the vulnerability appears in your code."
        }
      ]
    },
    "referenceUrls": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ReferenceUrls"
        },
        {
          "description": "One or more URL addresses that contain details about a vulnerability."
        }
      ]
    },
    "relatedVulnerabilities": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RelatedVulnerabilities"
        },
        {
          "description": "One or more vulnerabilities that are related to the vulnerability being described."
        }
      ]
    }
  }
}