Class: Aws::SecurityHub::Types::ClassificationResult

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 ClassificationResult data as a hash:

{
  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,
  },
}

Details about the sensitive data that was detected on the resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_occurrencesBoolean

Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.

Returns:

  • (Boolean)


24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end

#custom_data_identifiersTypes::CustomDataIdentifiersResult

Provides details about sensitive data that was identified based on customer-defined configuration.



24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end

#mime_typeString

The type of content that the finding applies to.

Returns:

  • (String)


24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end

#sensitive_dataArray<Types::SensitiveDataResult>

Provides details about sensitive data that was identified based on built-in configuration.

Returns:



24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end

#size_classifiedInteger

The total size in bytes of the affected data.

Returns:

  • (Integer)


24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end

#statusTypes::ClassificationStatus

The current status of the sensitive data detection.



24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24983

class ClassificationResult < Struct.new(
  :mime_type,
  :size_classified,
  :additional_occurrences,
  :status,
  :sensitive_data,
  :custom_data_identifiers)
  SENSITIVE = []
  include Aws::Structure
end