Amazon Macie · Schema

ResourceStatistics

Provides statistical data for sensitive data discovery metrics that apply to an S3 bucket that Amazon Macie monitors and analyzes for your account. The statistics capture the results of automated sensitive data discovery activities that Macie has performed for the bucket. The data is available only if automated sensitive data discovery is currently enabled for your account.

Data SecuritySensitive DataPrivacyComplianceMachine LearningS3

Properties

Name Type Description
totalBytesClassified object
totalDetections object
totalDetectionsSuppressed object
totalItemsClassified object
totalItemsSensitive object
totalItemsSkipped object
totalItemsSkippedInvalidEncryption object
totalItemsSkippedInvalidKms object
totalItemsSkippedPermissionDenied object
View JSON Schema on GitHub

JSON Schema

amazon-macie-resource-statistics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-schema/amazon-macie-resource-statistics-schema.json",
  "title": "ResourceStatistics",
  "description": "Provides statistical data for sensitive data discovery metrics that apply to an S3 bucket that Amazon Macie monitors and analyzes for your account. The statistics capture the results of automated sensitive data discovery activities that Macie has performed for the bucket. The data is available only if automated sensitive data discovery is currently enabled for your account.",
  "type": "object",
  "properties": {
    "totalBytesClassified": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket."
        }
      ]
    },
    "totalDetections": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed)."
        }
      ]
    },
    "totalDetectionsSuppressed": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score."
        }
      ]
    },
    "totalItemsClassified": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of objects that Amazon Macie has analyzed in the bucket."
        }
      ]
    },
    "totalItemsSensitive": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of the bucket's objects that Amazon Macie has found sensitive data in."
        }
      ]
    },
    "totalItemsSkipped": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "<p>The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.</p> "
        }
      ]
    },
    "totalItemsSkippedInvalidEncryption": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use."
        }
      ]
    },
    "totalItemsSkippedInvalidKms": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted."
        }
      ]
    },
    "totalItemsSkippedPermissionDenied": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__long"
        },
        {
          "description": "The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects."
        }
      ]
    }
  }
}