GleamLicenceConfiguredConfig
Defined in: policies/GleamLicenceConfigured.ts:14
Configuration for the GleamLicenceConfigured policy.
Properties
Section titled “Properties”allowedLicences?
Section titled “allowedLicences?”
optionalallowedLicences?:string[]
Defined in: policies/GleamLicenceConfigured.ts:18
Allowed SPDX licence identifiers. If set, only these are accepted.
validateSpdx?
Section titled “validateSpdx?”
optionalvalidateSpdx?:boolean
Defined in: policies/GleamLicenceConfigured.ts:29
If true, validate licence values against the SPDX licence list
using spdx-correct. When enabled, typos like “MIIT” are detected
and can be auto-fixed to the correct identifier (“MIT”).
Requires the optional peer dependency spdx-correct to be installed.
Default Value
Section titled “Default Value”false