Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: implement Lacework scanner test workflow
- adds test workflow for scanning containers - formats scan results for New Relic integration - includes debug mode and configurable inputs - preserves results as workflow artifacts feat: update action.yaml for additional outputs (image-name, image-tag) for downstream processing chore: remove scan-output-test.yaml from branch fix: resolve set-output and input issues in container-scan action fix: resolving errors fix: align outputs and cleanup references in container scan action fix: add required inputs for container scan Added input definitions for: - lw-account-name - lw-access-token - github-token - build-args Pass build-args to docker-build action feat(action): add JSON output format support - Add output-format parameter to control scan results format - Pass format parameter to Lacework scanner - Default to JSON for better parsing fix(scan): disable verbose output for JSON format - Add scanner flag to output clean JSON - Enable proper parsing of scan results fix(scan): use correct JSON output flag for Lacework scanner - Add -j=true flag to force JSON output format - Remove output-format parameter fix(scan): use correct parameter name for JSON output - Replace SCANNER_FLAGS with ADDITIONAL_PARAMETERS - Maintain -j=true flag for JSON format feat: add optional skip-checkout input to container-scan action fix(ci): restore PR commenting and result formatting in security scan action - Added steps to check and delete previous PR comments to ensure clean re-runs. - Restored PR commenting functionality with formatted Lacework scan results. - Improved validation of to prevent runtime errors. - Ensured Docker images are properly cleaned up after the scan process. This change addresses feedback regarding missing PR comments and maintains the expected behavior of the workflow. fix(ci): restored ADDITIONAL_PARAMETERS to enable JSON output. fix: add missing shell property to container scan action fix: add winterjung/comment@v1, type: delete feat(security): enable table output for container scan results - Add RESULTS_IN_GITHUB_SUMMARY and PRETTY_OUTPUT flags to Lacework scanner config - Maintain JSON output for New Relic metrics integration - Improve scan result readability in PR comments The scanner will now display results in both table format for GitHub and JSON for metrics reporting. feat(security): enable table output for scan results while preserving JSON for metrics Set PRETTY_OUTPUT and RESULTS_IN_GITHUB_SUMMARY to true while maintaining JSON output for New Relic integration using --save-results flag feat(security): parse JSON scan results into markdown table Keep JSON output for New Relic integration while adding JQ-based parsing to generate readable table format for PR comments feat(security): parse JSON scan results into markdown table Keep JSON output for New Relic integration while adding JQ-based parsing to generate readable table format for PR comments fix(ci): recreating pretty table feat(security): add formatted Lacework vulnerability report for PR comments - Parse Lacework JSON scan results into a readable markdown table. - Generate a summary table with severity counts and detailed vulnerabilities. - Add support for posting formatted results as PR comments. - Ensure compatibility with consuming workflows. fix(ci): revert to JSON results, table format failing
- Loading branch information