Class: Aws::SecurityHub::Types::DataClassificationDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass DataClassificationDetails data as a hash:

{
  detailed_results_location: "NonEmptyString",
  result: {
    mime_type: "NonEmptyString",
    size_classified: 1,
    additional_occurrences: false,
    status: {
      code: "NonEmptyString",
      reason: "NonEmptyString",
    },
    sensitive_data: [
      {
        category: "NonEmptyString",
        detections: [
          {
            count: 1,
            type: "NonEmptyString",
            occurrences: {
              line_ranges: [
                {
                  start: 1,
                  end: 1,
                  start_column: 1,
                },
              ],
              offset_ranges: [
                {
                  start: 1,
                  end: 1,
                  start_column: 1,
                },
              ],
              pages: [
                {
                  page_number: 1,
                  line_range: {
                    start: 1,
                    end: 1,
                    start_column: 1,
                  },
                  offset_range: {
                    start: 1,
                    end: 1,
                    start_column: 1,
                  },
                },
              ],
              records: [
                {
                  json_path: "NonEmptyString",
                  record_index: 1,
                },
              ],
              cells: [
                {
                  column: 1,
                  row: 1,
                  column_name: "NonEmptyString",
                  cell_reference: "NonEmptyString",
                },
              ],
            },
          },
        ],
        total_count: 1,
      },
    ],
    custom_data_identifiers: {
      detections: [
        {
          count: 1,
          arn: "NonEmptyString",
          name: "NonEmptyString",
          occurrences: {
            line_ranges: [
              {
                start: 1,
                end: 1,
                start_column: 1,
              },
            ],
            offset_ranges: [
              {
                start: 1,
                end: 1,
                start_column: 1,
              },
            ],
            pages: [
              {
                page_number: 1,
                line_range: {
                  start: 1,
                  end: 1,
                  start_column: 1,
                },
                offset_range: {
                  start: 1,
                  end: 1,
                  start_column: 1,
                },
              },
            ],
            records: [
              {
                json_path: "NonEmptyString",
                record_index: 1,
              },
            ],
            cells: [
              {
                column: 1,
                row: 1,
                column_name: "NonEmptyString",
                cell_reference: "NonEmptyString",
              },
            ],
          },
        },
      ],
      total_count: 1,
    },
  },
}

Provides details about sensitive data that was detected on a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailed_results_locationString

The path to the folder or file that contains the sensitive data.

Returns:

  • (String)


26350
26351
26352
26353
26354
26355
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26350

class DataClassificationDetails < Struct.new(
  :detailed_results_location,
  :result)
  SENSITIVE = []
  include Aws::Structure
end

#resultTypes::ClassificationResult

The details about the sensitive data that was detected on the resource.



26350
26351
26352
26353
26354
26355
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 26350

class DataClassificationDetails < Struct.new(
  :detailed_results_location,
  :result)
  SENSITIVE = []
  include Aws::Structure
end