Amazon CodeGuru Security · JSON Structure

Amazon Codeguru Security Suggested Fix Structure

Information about the suggested code fix to remediate a finding.

Type: object Properties: 2
AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

SuggestedFix 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

code description

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-suggested-fix-structure.json",
  "name": "SuggestedFix",
  "description": "Information about the suggested code fix to remediate a finding.",
  "type": "object",
  "properties": {
    "code": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The suggested code to add to your file. "
        }
      ]
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "A description of the suggested code fix and why it is being suggested. "
        }
      ]
    }
  }
}