Skip to content

Conversation

@jsibitoye
Copy link

@jsibitoye jsibitoye commented Sep 23, 2025

Description

This PR expands the examples in the trivy repository command docs.

  • Added example for scanning the current working directory (trivy repo .)
  • Added example for scanning a specific branch (--branch develop)
  • Added example for scanning a repository at a specific commit (--commit <hash>)

These additions give new users quick, practical commands for common scenarios without changing any functionality.

Related issues

  • Close #XXX

Related PRs

  • #XXX
  • #YYY

Remove this section if you don't have related PRs.

Checklist

  • [*] I've read the guidelines for contributing to this repository.
  • [ *] I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@jsibitoye jsibitoye requested a review from knqyf263 as a code owner September 23, 2025 00:30
@CLAassistant
Copy link

CLAassistant commented Sep 23, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@jsibitoye
Copy link
Author

This PR expands trivy repo usage examples (dir, branch, commit) and adds CI/CD integration references, making docs more practical and user-friendly.

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