Class: Aws::SecurityHub::Types::SensitiveDataResult

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

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

Contains a detected instance of sensitive data that are based on built-in identifiers.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.

Returns:

  • (String)


32799
32800
32801
32802
32803
32804
32805
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 32799

class SensitiveDataResult < Struct.new(
  :category,
  :detections,
  :total_count)
  SENSITIVE = []
  include Aws::Structure
end

#detectionsArray<Types::SensitiveDataDetections>

The list of detected instances of sensitive data.

Returns:



32799
32800
32801
32802
32803
32804
32805
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 32799

class SensitiveDataResult < Struct.new(
  :category,
  :detections,
  :total_count)
  SENSITIVE = []
  include Aws::Structure
end

#total_countInteger

The total number of occurrences of sensitive data.

Returns:

  • (Integer)


32799
32800
32801
32802
32803
32804
32805
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 32799

class SensitiveDataResult < Struct.new(
  :category,
  :detections,
  :total_count)
  SENSITIVE = []
  include Aws::Structure
end