feat: add silent mode and detailed logging for CI/CD automation#14
Merged
marksie1988 merged 2 commits intomainfrom Mar 6, 2026
Merged
feat: add silent mode and detailed logging for CI/CD automation#14marksie1988 merged 2 commits intomainfrom
marksie1988 merged 2 commits intomainfrom
Conversation
Introduce --silent, --suppress-warnings, --accept-telemetry, and --decline-telemetry flags to support non-interactive execution in CI/CD environments. Update core settings and utility functions to bypass interactive prompts and enforce explicit telemetry choices when silent mode is active. Additionally, add comprehensive debug logging across all scan modules (CVE, MAC, Password, Port) to improve observability and troubleshooting in automated pipelines. Update documentation in README.md and docs/ to reflect these new capabilities.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Type
What is the current behavior?
EdgeWalker is primarily designed for interactive use, requiring user confirmation for security warnings and telemetry choices. This makes it difficult to use in automated environments like CI/CD pipelines. Additionally, internal scanning processes lacked detailed logging, making it hard to debug issues in non-interactive runs.
Issue Number: N/A
What is the new behavior?
This PR introduces a "Silent Mode" and detailed logging to support automation and improve observability:
--silent(-s) and--suppress-warningsflags allow EdgeWalker to run without user prompts.--accept-telemetryand--decline-telemetryflags to handle privacy choices in non-interactive environments.loguruacross all scanning modules to provide granular visibility into the scanning lifecycle, including API responses, rate limits, and internal errors.README.mdwith examples for automated usage.Does this PR introduce a breaking change?
Other information
The
loguruintegration provides a much better debugging experience when running scans in the background or in automated pipelines.