Resource

Information about a resource, such as an Amazon S3 bucket or AWS Lambda function, that contains a finding.

AmazonSecuritySASTCode AnalysisDevSecOpsDeveloper Tools

Properties

Name Type Description
id object
subResourceId object
View JSON Schema on GitHub

JSON Schema

amazon-codeguru-security-resource-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-resource-schema.json",
  "title": "Resource",
  "description": "Information about a resource, such as an Amazon S3 bucket or AWS Lambda function, that contains a finding.",
  "type": "object",
  "properties": {
    "id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The identifier for the resource."
        }
      ]
    },
    "subResourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The identifier for a section of the resource, such as an AWS Lambda layer."
        }
      ]
    }
  }
}