SuggestedFix

Information about the suggested code fix to remediate a finding.

AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

Properties

Name Type Description
code object
description object
View JSON Schema on GitHub

JSON Schema

amazon-codeguru-security-suggested-fix-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-security/refs/heads/main/json-schema/amazon-codeguru-security-suggested-fix-schema.json",
  "title": "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. "
        }
      ]
    }
  }
}