GoogleApi.SecurityCenter.V1.Model.IpRules (google_api_security_center v0.39.0)

View Source

IP rules associated with the finding.

Attributes

  • allowed (type: GoogleApi.SecurityCenter.V1.Model.Allowed.t, default: nil) - Tuple with allowed rules.
  • denied (type: GoogleApi.SecurityCenter.V1.Model.Denied.t, default: nil) - Tuple with denied rules.
  • destinationIpRanges (type: list(String.t), default: nil) - If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.
  • direction (type: String.t, default: nil) - The direction that the rule is applicable to, one of ingress or egress.
  • exposedServices (type: list(String.t), default: nil) - Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
  • sourceIpRanges (type: list(String.t), default: nil) - If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SecurityCenter.V1.Model.IpRules{
  allowed: GoogleApi.SecurityCenter.V1.Model.Allowed.t() | nil,
  denied: GoogleApi.SecurityCenter.V1.Model.Denied.t() | nil,
  destinationIpRanges: [String.t()] | nil,
  direction: String.t() | nil,
  exposedServices: [String.t()] | nil,
  sourceIpRanges: [String.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.