class Aws::SecurityHub::Types::NetworkConnectionAction

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

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

@!attribute [rw] connection_direction

The direction of the network connection request (`IN` or `OUT`).
@return [String]

@!attribute [rw] remote_ip_details

Information about the remote IP address that issued the network
connection request.
@return [Types::ActionRemoteIpDetails]

@!attribute [rw] remote_port_details

Information about the port on the remote IP address.
@return [Types::ActionRemotePortDetails]

@!attribute [rw] local_port_details

Information about the port on the EC2 instance.
@return [Types::ActionLocalPortDetails]

@!attribute [rw] protocol

The protocol used to make the network connection request.
@return [String]

@!attribute [rw] blocked

Indicates whether the network connection attempt was blocked.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/NetworkConnectionAction AWS API Documentation

Constants

SENSITIVE