OBJECT

NetworkPolicy

Policy that involves network events

link GraphQL Schema definition

  • type NetworkPolicy implements Policy {
  • # Policy ID
  • id: ID!
  • # Index of policy
  • index: Int!
  • # Title
  • title: String!
  • # Level of policy
  • level: PolicyLevel!
  • # Is policy disabled
  • disabled: Boolean!
  • # Is policy archived
  • archived: Boolean!
  • # Indicates the policy's schema
  • schema: SchemaType!
  • # Indicates if the policy hits on continuous events
  • continuous: Boolean!
  • # Should take snapshot
  • snapshot: Boolean
  • # Indicates if the policy is system generated
  • system: Boolean!
  • # Key of policy
  • key: String!
  • # Event type info regarding this policy
  • eventTypeDetails: EventTypeDetails!
  • # The last date the entity was modified by a user
  • lastModifiedDate: String
  • # The last user that modified the entity
  • lastModifiedBy: String
  • # Should the policy be disabled after first hit
  • disableAfterHit: Boolean!
  • # Actions for policy
  • #
  • # Arguments
  • # after: Returns the items in the list that come after the
  • # specified cursor.
  • # first: Returns the first n items from the list.
  • # before: Returns the items in the list that come before the
  • # specified cursor.
  • # last: Returns the last n items from the list.
  • actions(after: String, first: Int, before: String, last: Int): ActionConnection!
  • # Is policy paused by system
  • paused: Boolean!
  • # Source Asset Group
  • srcAssetGroup: [[AssetGroupMember!]!]!
  • # Destination Asset Group
  • dstAssetGroup: [[AssetGroupMember!]!]!
  • # Schedule Group
  • schedule: SchedulePolicyGroup!
  • # Protocol Group
  • protocolGroup: ProtocolPolicyGroup!
  • # Port Group
  • portGroup: PortPolicyGroup
  • # Tag Group
  • tagGroup: TagPolicyGroup
  • # Value Group
  • valueGroup: ValuePolicyGroup
  • # Rule Group
  • ruleGroup: RulePolicyGroup
  • # Extended policy parameters
  • params: ExtraParametersUnion
  • # List of all current active exclusion for the policy
  • #
  • # Arguments
  • # after: Returns the items in the list that come after the
  • # specified cursor.
  • # first: Returns the first n items from the list.
  • # before: Returns the items in the list that come before the
  • # specified cursor.
  • # last: Returns the last n items from the list.
  • exclusions(after: String, first: Int, before: String, last: Int): ExclusionConnection!
  • # The policy's events hit counts aggregated by time frame
  • aggregatedEventsCount: AggregatedEventsCounts!
  • # Event type
  • event: ProtocolPolicyEvent!
  • }

link Require by

This element is not required by anyone