Skip to content

runCheckPermissionSets

runCheckPermissionSets(options): Promise<RunCheckPermissionSetsResult>

Defined in: packages/simply-cicd-core/src/build/checkPermissionSets.ts:91

Finds every permission set build file in the repo and checks the permission set each defines against the generated file on disk, writing nothing. A repo with no permission set build files is a skip. Every file is loaded and validated, and names are checked for duplicates across files, before anything is checked; then every permission set is checked before failing, so one run reports every stale permission set.

RunCheckPermissionSetsOptions

Promise<RunCheckPermissionSetsResult>

When any permission set has drifted or is missing, or a permission set build file is invalid.