Class: Aws::SecurityHub::Types::NetworkConnectionAction

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

{
  connection_direction: "NonEmptyString",
  remote_ip_details: {
    ip_address_v4: "NonEmptyString",
    organization: {
      asn: 1,
      asn_org: "NonEmptyString",
      isp: "NonEmptyString",
      org: "NonEmptyString",
    },
    country: {
      country_code: "NonEmptyString",
      country_name: "NonEmptyString",
    },
    city: {
      city_name: "NonEmptyString",
    },
    geo_location: {
      lon: 1.0,
      lat: 1.0,
    },
  },
  remote_port_details: {
    port: 1,
    port_name: "NonEmptyString",
  },
  local_port_details: {
    port: 1,
    port_name: "NonEmptyString",
  },
  protocol: "NonEmptyString",
  blocked: false,
}

Provided if ActionType is NETWORK_CONNECTION. It provides details about the attempted network connection that was detected.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blockedBoolean

Indicates whether the network connection attempt was blocked.

Returns:

  • (Boolean)


27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end

#connection_directionString

The direction of the network connection request (IN or OUT).

Returns:

  • (String)


27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end

#local_port_detailsTypes::ActionLocalPortDetails

Information about the port on the EC2 instance.



27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol used to make the network connection request.

Returns:

  • (String)


27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end

#remote_ip_detailsTypes::ActionRemoteIpDetails

Information about the remote IP address that issued the network connection request.



27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end

#remote_port_detailsTypes::ActionRemotePortDetails

Information about the port on the remote IP address.



27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27104

class NetworkConnectionAction < Struct.new(
  :connection_direction,
  :remote_ip_details,
  :remote_port_details,
  :local_port_details,
  :protocol,
  :blocked)
  SENSITIVE = []
  include Aws::Structure
end