OBJECT

TanzuHubPolicyFinding

TanzuHubPolicyFinding

link GraphQL Schema definition

  • type TanzuHubPolicyFinding {
  • # If provided, will be considered in finding generation with accountId.
  • accountIdPath: String
  • # Finding category used while generating finding by policy evaluation
  • category: TanzuHubPolicyFindingCategory!
  • # If provided, will be considered in finding generation with entityId.
  • # Eg: data.derivedDataQuery.queryDerivedData.derivedData.entityId.
  • entityIdPath: String
  • # Optional input that will help create multiple findings for each Entity that
  • # violates this policy.
  • # Typically a finding is tied to an Entity, however we do have the optional of
  • # creating multiple findings
  • # for a single Entity, example when an Application Entity had multiple
  • # Critical/High CVE or when it has packages
  • # going out of support.
  • multipleFindingsCreationSources: [TanzuHubPolicyMultipleFindingsCreationSource!]
  • # Finding severity used while generating finding by policy evaluation
  • severity: TanzuHubPolicyFindingSeverity!
  • # Finding source used while generating finding by policy evaluation
  • source: TanzuHubPolicyFindingSource!
  • # Finding type used while generating finding by policy evaluation
  • type: TanzuHubPolicyFindingType!
  • }