@pulumi/compliance-policy-manager
Version:
This repository contains a growing set of Compliance Policies to validate your infrastructure using Pulumi's Crossguard Policy-as-Code framework.
15 lines (14 loc) • 623 B
TypeScript
/**
* `loadPlugins()` loads NPM policy packages that are present in the `package.json` which
* names are matching the `globPatterns`.
*
* this function is typically used when you've authored a policy package and you want to
* load and register the policies it contains.
*
* A common pattern example is `["@pulumi/*-compliance-policies"]` for Pulumi Compliance
* Policies.
*
* @param globPatterns An array of patterns as used by `micromatch`.
* @returns No value is returned. Exceptions are thrown on error with a descriptive message.
*/
export declare function loadPlugins(globPatterns: Array<string>): void;