Class: Google::Cloud::SecurityCenter::V1::Connection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/connection.rb

Overview

Contains information about the IP connection associated with the finding.

Defined Under Namespace

Modules: Protocol

Instance Attribute Summary collapse

Instance Attribute Details

#destination_ip::String

Returns Destination IP address. Not present for sockets that are listening and not connected.

Returns:

  • (::String)

    Destination IP address. Not present for sockets that are listening and not connected.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'proto_docs/google/cloud/securitycenter/v1/connection.rb', line 42

class Connection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # IANA Internet Protocol Number such as TCP(6) and UDP(17).
  module Protocol
    # Unspecified protocol (not HOPOPT).
    PROTOCOL_UNSPECIFIED = 0

    # Internet Control Message Protocol.
    ICMP = 1

    # Transmission Control Protocol.
    TCP = 6

    # User Datagram Protocol.
    UDP = 17

    # Generic Routing Encapsulation.
    GRE = 47

    # Encap Security Payload.
    ESP = 50
  end
end

#destination_port::Integer

Returns Destination port. Not present for sockets that are listening and not connected.

Returns:

  • (::Integer)

    Destination port. Not present for sockets that are listening and not connected.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'proto_docs/google/cloud/securitycenter/v1/connection.rb', line 42

class Connection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # IANA Internet Protocol Number such as TCP(6) and UDP(17).
  module Protocol
    # Unspecified protocol (not HOPOPT).
    PROTOCOL_UNSPECIFIED = 0

    # Internet Control Message Protocol.
    ICMP = 1

    # Transmission Control Protocol.
    TCP = 6

    # User Datagram Protocol.
    UDP = 17

    # Generic Routing Encapsulation.
    GRE = 47

    # Encap Security Payload.
    ESP = 50
  end
end

#protocol::Google::Cloud::SecurityCenter::V1::Connection::Protocol

Returns IANA Internet Protocol Number such as TCP(6) and UDP(17).

Returns:



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'proto_docs/google/cloud/securitycenter/v1/connection.rb', line 42

class Connection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # IANA Internet Protocol Number such as TCP(6) and UDP(17).
  module Protocol
    # Unspecified protocol (not HOPOPT).
    PROTOCOL_UNSPECIFIED = 0

    # Internet Control Message Protocol.
    ICMP = 1

    # Transmission Control Protocol.
    TCP = 6

    # User Datagram Protocol.
    UDP = 17

    # Generic Routing Encapsulation.
    GRE = 47

    # Encap Security Payload.
    ESP = 50
  end
end

#source_ip::String

Returns Source IP address.

Returns:

  • (::String)

    Source IP address.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'proto_docs/google/cloud/securitycenter/v1/connection.rb', line 42

class Connection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # IANA Internet Protocol Number such as TCP(6) and UDP(17).
  module Protocol
    # Unspecified protocol (not HOPOPT).
    PROTOCOL_UNSPECIFIED = 0

    # Internet Control Message Protocol.
    ICMP = 1

    # Transmission Control Protocol.
    TCP = 6

    # User Datagram Protocol.
    UDP = 17

    # Generic Routing Encapsulation.
    GRE = 47

    # Encap Security Payload.
    ESP = 50
  end
end

#source_port::Integer

Returns Source port.

Returns:

  • (::Integer)

    Source port.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'proto_docs/google/cloud/securitycenter/v1/connection.rb', line 42

class Connection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # IANA Internet Protocol Number such as TCP(6) and UDP(17).
  module Protocol
    # Unspecified protocol (not HOPOPT).
    PROTOCOL_UNSPECIFIED = 0

    # Internet Control Message Protocol.
    ICMP = 1

    # Transmission Control Protocol.
    TCP = 6

    # User Datagram Protocol.
    UDP = 17

    # Generic Routing Encapsulation.
    GRE = 47

    # Encap Security Payload.
    ESP = 50
  end
end