Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update output-format and acs-report-enable disconnect #192

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Sep 14, 2022

This PR is a follow up to #187 which renames the json output file to more closely align to the output-format option of json or sarif, as well as removing the acs-report-enable flag, which is no longer necessary.

NOTE: this is not really a breaking change, as the defaults of output-format=sarif and acs-report-enable=true will result in the same behavior.

@kzantow kzantow requested a review from a team September 14, 2022 18:32
Copy link
Contributor

@spiffcs spiffcs left a comment

Choose a reason for hiding this comment

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

Did you mean to delete the CHANGELOG here? Everything else looks awesome 🟢

} else {
cmdArgs.push("-o", outputFormat);
}
cmdArgs.push("-o", outputFormat);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, this makes it much easier to read and simplifies everything.

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow
Copy link
Contributor Author

kzantow commented Sep 14, 2022

Restored the CHANGELOG 👍

@kzantow kzantow merged commit 0ce5a11 into anchore:main Sep 14, 2022
@kzantow kzantow deleted the update-output-format-acs branch September 14, 2022 18:46
@kzantow
Copy link
Contributor Author

kzantow commented Sep 14, 2022

@maartenh NOTE: I've updated the output variable name to json instead of report. This way it matches the format: sarif and json. We'll get a new version released with these changes very soon 👍

@maartenh
Copy link
Contributor

@kzantow That seems like a good idea with the current 2 format options.
If multiple formats for a single run are supported in the future, it's also probably a good path to keep following.
If we enable more formats but only a single one per run, then it's probably better to move to a single output variable at that point.

dirkmueller added a commit to dirkmueller/BCI-tests that referenced this pull request Nov 23, 2022
This parameter is no longer supported in @V3, and replaced
by output-format: sarif, which is however the default

see anchore/scan-action#192 for context
dirkmueller added a commit to dirkmueller/BCI-tests that referenced this pull request Nov 23, 2022
This parameter is no longer supported in @V3, and replaced
by output-format: sarif, which is however the default

see anchore/scan-action#192 for context
jayaddison added a commit to grocy/grocy-docker that referenced this pull request Mar 31, 2023
…n-action configuration in container publish workflow

This is (and was) the default for the action; ref: anchore/scan-action#192
rcmadhankumar pushed a commit to SUSE/BCI-tests that referenced this pull request Aug 30, 2024
This parameter is no longer supported in @V3, and replaced
by output-format: sarif, which is however the default

see anchore/scan-action#192 for context
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