Skip to content

feat: add silent mode and detailed logging for CI/CD automation#14

Merged
marksie1988 merged 2 commits intomainfrom
detailed_logging
Mar 6, 2026
Merged

feat: add silent mode and detailed logging for CI/CD automation#14
marksie1988 merged 2 commits intomainfrom
detailed_logging

Conversation

@marksie1988
Copy link
Copy Markdown
Contributor

PR Checklist

PR Type

  • Feature
  • Documentation content changes

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:

  1. Silent Mode: New --silent (-s) and --suppress-warnings flags allow EdgeWalker to run without user prompts.
  2. Telemetry Control: Added --accept-telemetry and --decline-telemetry flags to handle privacy choices in non-interactive environments.
  3. Detailed Logging: Integrated loguru across all scanning modules to provide granular visibility into the scanning lifecycle, including API responses, rate limits, and internal errors.
  4. CI/CD Support: Updated documentation and README.md with examples for automated usage.
  5. Quality Assurance: Increased minimum test coverage to 95% and updated the test suite to support the new non-interactive settings.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

The loguru integration provides a much better debugging experience when running scans in the background or in automated pipelines.

   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.
@marksie1988 marksie1988 merged commit db95d39 into main Mar 6, 2026
9 checks passed
@marksie1988 marksie1988 deleted the detailed_logging branch March 6, 2026 14:42
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

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