Skip to content

Make Severity configurable for ignoreNotFound#612

Open
hexa2k9 wants to merge 1 commit into
hashicorp:mainfrom
hexa2k9:feature/severity-for-ignorenotfound
Open

Make Severity configurable for ignoreNotFound#612
hexa2k9 wants to merge 1 commit into
hashicorp:mainfrom
hexa2k9:feature/severity-for-ignorenotfound

Conversation

@hexa2k9

@hexa2k9 hexa2k9 commented Jul 1, 2026

Copy link
Copy Markdown

Description

We rely on vault-action a lot to fetch secrets used in Actions Workflows from Vault. We use a Structure in Vault based on a path taken from the github.repository which may or may not exist in Vault. For some of those paths we ignore failure using the with.ignoreNotFound (and it's fine). The paths which don't exist in Vault however cause an error annotation on the Workflow Summary.

The behavior was originally discussed in #518 and I'd not want to challenge the "error" default but it causes some noise for us which this PR should address.

Setting with.ignoreNotFoundSeverity to info will silence those expected errors.

Checklist

  • Added CHANGELOG entry (only for user-facing changes)

Community Note

  • Please vote on this pull request by adding a 👍
    reaction
    to the original pull request comment to help the community and maintainers
    prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request
    followers and do not help prioritize the request

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@hexa2k9
hexa2k9 requested review from a team as code owners July 1, 2026 07:21
@hashicorp-cla-app

hashicorp-cla-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant