INPUT_OBJECT

SecurityUpsertRuleInput

link GraphQL Schema definition

  • input SecurityUpsertRuleInput {
  • # Brief description about this rule
  • description: String
  • # Name of this rule
  • displayName: String!
  • # Indicated the rule is enabled for this organization
  • enabled: Boolean!
  • # Hyperlink(s) to visualize specific rule data in detail
  • hyperlinks: [HyperLinkInput!]!
  • # Opaque version string for this graph node instance
  • nodeVersion: ID
  • # Policy classes of the generated finding
  • policyClass: [SecurityPolicyClass!]
  • # Cloud provider of this rule
  • provider: SecurityCloudProvider!
  • # Resources related to the rule
  • resources: [SecurityResourceInput!]
  • # Revision notes for the rule
  • revisionNotes: String
  • # Identifier of the rule. For updating an existing record, the correct ID needs to
  • # be provided.
  • ruleId: String
  • # Specific cloud provider service that is monitored by this rule
  • service: String!
  • # The severity of the generated finding e.g. Critical, High, Medium or Low
  • severity: SecurityFindingSeverity!
  • # Source of the generated finding. Accepted only Native and Custom.
  • source: SecurityComplianceSource!
  • # Key/Value map that a user/customer can use to group and categorize rules
  • tags: [TagInput!]
  • # Key/Value map representing the rule's triggers
  • triggers: [SecurityTriggerInput!]
  • # Type of the generated finding e.g. Violation, Threat, Anomaly
  • type: SecurityFindingType!
  • # Query used to detect violations in customer's cloud account inventory state
  • violationQuery: SecurityRuleQueryInput!
  • }