Class: Aws::GuardDuty::Types::CreateThreatIntelSetRequest

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

Overview

Note:

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

{
  detector_id: "DetectorId", # required
  name: "Name", # required
  format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
  location: "Location", # required
  activate: false, # required
  client_token: "ClientToken",
  tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#activateBoolean

A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.

Returns:

  • (Boolean)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#client_tokenString

The idempotency token for the create request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#detector_idString

The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#formatString

The format of the file that contains the ThreatIntelSet.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#locationString

The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#nameString

A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.

Returns:

  • (String)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

The tags to be added to a new threat list resource.

Returns:

  • (Hash<String,String>)


1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1002

class CreateThreatIntelSetRequest < Struct.new(
  :detector_id,
  :name,
  :format,
  :location,
  :activate,
  :client_token,
  :tags)
  include Aws::Structure
end