Skip to content

Conversation

@dylanratcliffe
Copy link
Member

This was just a logic error that was causing the routine to bail out the first time it came across something it wanted to skip. I've also added a redacted plan.json that tests most of the important plan parsing code paths

This was just a logic error that was causing the routine to bail out the first time it came across something it wanted to skip. I've also added a redacted plan.json that tests most of the important plan parsing code paths
queries, err := changingItemQueriesFromPlan(ctx, contents, lf)
if err != nil {
log.WithContext(ctx).WithError(err).WithFields(lf).Error("failed to read terraform plan")
log.WithContext(ctx).WithError(err).WithFields(lf).Error("parse terraform plan")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

[Sensitive data returned by an access to apiKey](1) flows to a logging call.
Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:doh:

@dylanratcliffe dylanratcliffe merged commit b5c4394 into main Jul 18, 2023
@dylanratcliffe dylanratcliffe deleted the fix-mapping branch July 18, 2023 11:16
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.

3 participants