New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pulumi/policy

Package Overview
Dependencies
Maintainers
2
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/policy - npm Package Versions

1
14

0.4.1-dev.1583074861

Diff

pulumi-bot
published 0.4.1-dev.1582663445 •

pulumi-bot
published 0.4.1-dev.1582584449 •

pulumi-bot
published 0.4.1-dev.1581355703 •

pulumi-bot
published 0.4.0 •

Changelog

Source

0.4.0 (2020-01-30)

  • Add support for using Config, getProject(), getStack(), and isDryRun() from Policy Packs via upgraded dependency on @pulumi/pulumi v1.8.0 (requires v1.8.0 or later of the Pulumi SDK) (https://github.com/pulumi/pulumi-policy/pull/169).

  • Provide easier type checking for validateStack, along with isType and asType helper functions (https://github.com/pulumi/pulumi-policy/pull/173).

    Example:

    {
        validateStack: validateStackResourcesOfType(aws.s3.Bucket, (buckets, args, reportViolation) => {
            for (const bucket of buckets) {
                // ...
            }
        }),
    }
    
  • validateTypedResource is now deprecated in favor of validateResourceOfType. validateTypedResource will be removed in an upcoming version. (https://github.com/pulumi/pulumi-policy/pull/173).

  • Attempting to access an unknown property value during previews from a stack validation callback now results in an advisory violation like what happens when doing the same from a resource validation callback (https://github.com/pulumi/pulumi-policy/pull/180).

pulumi-bot
published 0.3.1-dev.1580422017 •

pulumi-bot
published 0.3.1-dev.1580420559 •

pulumi-bot
published 0.3.1-dev.1580337259 •

pulumi-bot
published 0.3.1-dev.1579279733 •

pulumi-bot
published 0.3.1-dev.1577987236 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc