INPUT_OBJECT

TanzuHubPolicyCreateInput

Policy input

link GraphQL Schema definition

  • input TanzuHubPolicyCreateInput {
  • # CSP project id associated with policy
  • cspProjectEntityId: [EntityId!]
  • # Policy description
  • description: String
  • # Policy execution schedule
  • executionSchedule: TanzuHubPolicyExecutionScheduleInput!
  • # Policy name
  • name: String!
  • # Rules for this policy.
  • # A rule is a set Graphql Query + post processing that filters data in the Hub
  • # Graph.
  • # Rule has associated actions.
  • # A rule is considered evaluated to NON_COMPLIANT if there are resources returned
  • # by the graphQL query + post-processing
  • # If a rule evaluates to NON_COMPLIANT, the associated actions are executed.
  • #
  • # Rules for a policy are a executed sequentially and if any rule evaluates to
  • # NON_COMPLIANT further rule execution is stopped.
  • rule: [TanzuHubPolicyRuleInput!]!
  • }