Skip to content

Implemented the requested logging improvements.#75

Draft
Natan-gal wants to merge 4 commits into
SolDevelo:mainfrom
Natan-gal:patch-6
Draft

Implemented the requested logging improvements.#75
Natan-gal wants to merge 4 commits into
SolDevelo:mainfrom
Natan-gal:patch-6

Conversation

@Natan-gal
Copy link
Copy Markdown
Contributor

InfraScan now:

logs all discovered Docker Compose and Kubernetes files before scanning,
shows the source file for each scanned image, e.g. Scanning image: nginx:1.27 (from docker-compose.yml).

@igor-soldev
Copy link
Copy Markdown
Member

The PR contains an indentation error (IndentationError) in docker_scout_scanner.py, which means the script does not run locally and it is not possible to verify the changes to the login process.

Request: before submitting a PR, it is always a good idea to run the changes locally and check that the code executes without any syntax errors.

@igor-soldev igor-soldev marked this pull request as draft May 21, 2026 09:34
@Natan-gal
Copy link
Copy Markdown
Contributor Author

The indentation issue has been fixed and I verified the changes locally.

I also added graceful handling for missing Docker Scout installations and improved fallback behavior to Grype to prevent scan failures.

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.

2 participants