Class SecurityPolicyUserDefinedField (1.18.0)

SecurityPolicyUserDefinedField(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

Name Description
base str
The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required Check the Base enum for the list of possible values. This field is a member of oneof_ _base.
mask str
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask. This field is a member of oneof_ _mask.
name str
The name of this field. Must be unique within the policy. This field is a member of oneof_ _name.
offset int
Offset of the first byte of the field (in network byte order) relative to 'base'. This field is a member of oneof_ _offset.
size int
Size of the field in bytes. Valid values: 1-4. This field is a member of oneof_ _size.

Classes

Base

Base(value)

The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header.

  • IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required

Values: UNDEFINED_BASE (0): A value indicating that the enum field is not set. IPV4 (2254341): No description available. IPV6 (2254343): No description available. TCP (82881): No description available. UDP (83873): No description available.