Skip to content

Set Azure Pipeline task status to warning when warning(s) exist from Pulumi Policy-as-Code #146

Open

Description

Currently, when policy violation warnings exist on a stack, the status for the Azure pipeline task is green. Teams need to parse the logs to determine whether any warnings exist. This can be problematic if a new policy is rolled out, and teams forget to review the logs if no infrastructure changes were made. By leveraging the Azure task status options, teams can easily identify when such warnings exist.

Alternatively, we would need to create a powershell task, leverage the Pulumi REST api to pull the stack details, determine if any warnings exist, and set the appropriate task status where appropriate.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    customer/feedbackFeedback from customersimpact/usabilitySomething that impacts users' ability to use the product easily and intuitivelykind/enhancementImprovements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions