Prowler, Trivy and Semgrep Output to Report Findings with AI
Group Prowler, Trivy and Semgrep output into report findings with AI: an image’s vulnerable packages as one finding, each with its installed and fixed versions.
Cloud and code scanners report per resource, per package and per line of code, and a report presents weaknesses. Pental’s scanner import reads Prowler, Trivy, Semgrep and many tools like them, alone or together, and can now group their results with AI: an image’s vulnerable packages become one finding with each package’s installed and fixed versions in a table built from the scan, while checks that are their own fix stay findings of their own.
Why this output needs grouping
A container image with a dozen vulnerable packages is a dozen results in Trivy, each under its CVE, and one finding for the client: rebuild the image on patched packages. A cloud benchmark reports each check on each resource. A code scanner reports each rule at each place in the code it matched. All of that is right for tracking, and long for a report, where the reader wants to know what to fix and where.
One scan can hold more than one kind of result. Trivy’s report carries an image’s misconfigurations and the secrets it found as well as its vulnerable packages, and each kind is usually a finding, or several, of its own.
What each export gives the import
| Tool | What the import reads |
|---|---|
| Prowler | OCSF JSON and CSV, and the output of versions 2 and 3 |
| Trivy | The JSON report: vulnerabilities, misconfigurations and secrets |
| Semgrep | Its own JSON, and SARIF, which CodeQL and other tools write too |
The same import reads ScoutSuite, AWS Security Hub, Microsoft Defender for Cloud, Wiz, Checkov, Grype, Snyk, Gitleaks and others, so a cloud review’s exports can go in together. Secrets a tool such as Gitleaks reports are masked as they are read.
Grouping with AI in the import
In an engagement, press Import from scanner in a phase’s findings and choose the exports: an image’s Trivy scan, a Semgrep scan of its code and a Prowler check of its account can go in at once. Tick Group into report findings with AI and press Group with AI. The model is shown each issue’s title, its rating, the tool, its category and how many assets it was found on, and not the assets themselves.
In the example, Trivy’s three CVEs in the image’s packages became one finding on vulnerable packages, the image running as root stayed one of its own, and Semgrep’s tainted SQL string in two places became one finding on SQL injection in the application’s code. Prowler’s two account checks stayed separate, because each is a different change.
Each package with its installed and fixed versions
Trivy names, for each vulnerability, the package, the version installed and the version that fixes it. The import reads those from the scan and builds the finding’s table from them: a row for each asset and package, with the version installed and the version that fixes it, in the example jQuery 3.3.9 to 3.4.0, lodash 4.17.4 to 4.17.12 and two OpenSSL libraries from 3.3.2-r0 to 3.3.2-r1. The CVEs the finding brings together are listed above the table, and one example of each result’s output sits under it. Nothing in the table is typed by AI.
Where a tool describes what it found in prose rather than in fields, AI lays the output out as a table instead, and every value it writes is checked against the output it came from: a value that is not there is left out and counted, and if more are left out than kept, the table built from the scan is used.
Instructions of your own
The button beside Group with AI takes instructions of your own for this import, in plain words: keep each image’s packages a finding of its own, say, or put every check of one cloud service together. They are sent with the grouping, with each table AI lays out and with every finding it writes, so the findings come back closer to the way your firm reports a cloud review.
A grouped finding starts from the worst rating among the results it brings together, with the score that came with it, and its rating follows that score as the finding form does.
What is still yours to do
A vulnerable package is not always a vulnerable application. Check whether the code reaches the vulnerable function, whether the image is what runs in production, and whether a fixed version is already on its way through the client’s pipeline. A code finding needs the same care: read the matched code, follow the input to it, and rate it for this application. False positives in pentest reports covers confirming in proportion to the rating, and deduplicating vulnerability scanner findings what to do when two tools name one issue differently.
The findings as added
Add saves the ticked findings as drafts. Where your library has the finding, its words are used. Otherwise AI writes the description, the remediation and your own fields with the prompts you set for them, from the finding, the tools’ own words and its evidence. A finding already in the phase under the same title is not added again: it is given any asset it does not list yet, and nothing written in it changes.
When the model runs on your own hardware, nothing from the scan leaves your network, which running a local LLM for pentest report writing covers.
Pental’s Import from scanner reads 61 formats, Prowler, Trivy, Semgrep and SARIF among them, alone or together. Tick Group into report findings with AI and the results that are one weakness become one finding, each package with its installed and fixed versions in a table built from the scan, shown to you to tick and added as drafts. Grouping scanner results with AI explains each step.
Common Questions
- Can AI group Trivy vulnerabilities into one report finding?
- Yes. With Group into report findings with AI ticked, an image’s vulnerable packages can become one finding, with a table of each package’s installed and fixed versions taken from the Trivy scan itself, never typed by the model.
- Can Prowler, Trivy and Semgrep output be imported together?
- Yes. Choose the exports together in Pental’s Import from scanner and they are read as one import. The grouping works across them, and checks that are each their own fix stay findings of their own.
- Does the AI see the scanned resources themselves?
- No. To group, the model is given each issue’s title, rating, tool, category and how many assets it was found on, and not the assets themselves. The model can also run on your own hardware through Ollama.
- Are secrets from a scan kept in the findings?
- Secrets a tool such as Gitleaks or TruffleHog reports are masked as the import reads them, so the finding records where a secret was found without holding the secret itself.
Keep Reading
Burp Suite and ZAP Scans to Pentest Report Findings with AI
Group Burp Suite and ZAP scan issues into web application report findings with AI: one finding per weakness, every URL listed and the evidence from the export.
BloodHound and PingCastle Output to Report Findings with AI
Turn a BloodHound collection or a PingCastle health check into Active Directory report findings with AI, each rule’s and check’s own tables kept as evidence.
Your Own Database and End-to-End Encryption: Why Both Matter
A database your firm owns decides where pentest data lives; end-to-end encryption decides who can read it there. What each one protects, and why both.
Setup guide
See the product set up, end to end
The whole setup in 5:44, with chapters you can jump to: your firm's name, your own domain, your own database in any of three places, email from your own address, branding, updating the database on Supabase Cloud, and moving the database if you change your mind.
- 0:00 · Your name and your firm’s name
- 0:15 · Custom domain
- 0:43 · Your own database, three ways
- +4 more