workflowPolicy

Examples

type WorkflowPolicy {
  id: String!
  isValid: Boolean
  createdAt: Float!
  createdBy: String
  enabled: Boolean
  updatedAt: Float!
  updatedBy: String
  name: String!
  description: String
  actions: [Action!]!
  triggers: [Trigger!]!
  runs: Int
  lastRunTime: Float
  workflowType: WorkflowType!
  isDefault: Boolean!
  monitorAllNewlyCreatedRepositories: Float
  wfPipelineSettings: WfPipelineSettings
}

Fields

Field
Description
Supported fields

id String!

ID of the policy workflow

isValid Boolean

defines if workflow is valid or not

createdAt Float!

Time the workflow was created

createdBy String

Workflow creator

enabled Boolean

Enabled for evaluation

updatedAt Float!

Time the workflow was updated

updatedBy String

Workflow last updated by

name String!

Name of the workflow

description String

Description of the workflow

actions [Action!]!

name String type String

triggers [Trigger!]!

name String category String

runs Int

numbers of runs this workflow had

lastRunTime Float

last time this workflow had run

workflowType WorkflowType!

type of the workflow (Regular scan / Pipeline scan)

isDefault Boolean!

If the workflow is a default one

monitorAllNewlyCreatedRepositories Float

If this workflow should trigger for all newly created repos starting from the time it is set

wfPipelineSettings WfPipelineSettings

settings for pipeline

References

Mutations using this object:

Last updated