Supply Chain Security - Dependencies Page Shows No Packages for a Policy Violation Count
Overview
In Aqua Supply Chain Security, a code repository build can show a policy violation count such as Showing 1-1/1 Items for a module type (for example, Dependency License) while the dependency list is empty or displays No Dependencies Discovered.
This is expected when the Dependencies page is showing the main branch and that branch has no dependencies that violate the selected assurance policy. For every other branch, scanning covers only the changes (the diff) on that branch, so the dependency information shown is the diff result rather than the branch’s full dependency tree.
Symptoms
A violated assurance policy lists a module type with a count, for example
Showing 1-1/1 Items, for Dependency License or another dependency control.The area under that count does not list individual packages.
The control beside the module type opens the Dependencies view.
That view shows No Dependencies Discovered, or it does not display a package list.
The branch under review does contain dependencies, so the empty list looks like missing scan data.
Why the List Is Empty
The policy summary and the Dependencies page answer different questions.
The count lists violated module types
A line such as Showing 1-1/1 Items for Dependency License means that module type violated the selected policy. The row is a module-type summary. It is the package list only after you open the Dependencies view.
The control beside the module type opens the Dependencies view for packages associated with that violation.
The Dependencies page defaults to the main branch
Packages on the Dependencies page are the dependencies from the main branch. When no dependency on the main branch violates the configured policy, the page shows No Dependencies Discovered.
Dependencies that exist on the branch you opened stay off that default view when they are absent from main.
Other branches are scanned as diffs
For branches other than main, Supply Chain Security scans the changes on that branch. Dependency information for those branches reflects that diff. It does not list every dependency present in the branch.
A feature-branch build can therefore contain dependencies while the Dependencies page, which defaults to main, reports that none were discovered for the selected policy.
How to Review the Results
Open Supply Chain → Code Repositories and select the repository and build.
Open the Dependencies view filtered to the assurance policy you are reviewing.
Read the policy section as a list of violated module types. A count such as
Showing 1-1/1 Itemsidentifies the module type (for example, Dependency License).Select the control beside the module type to open the dependencies that violated that policy.
Confirm which branch the Dependencies page is using. The page shows main-branch dependencies by default.
When the result is No Dependencies Discovered, read it as: the main branch has no dependencies that violate the selected policy.
When the build belongs to a branch other than main, treat the dependency findings as the scan of that branch’s diff.
Compare the branch under review with the main branch before treating an empty list as missing scan data.
Expected Behavior
What you see | What it means |
|---|---|
| That module type violated the selected policy. The row summarizes the module type. |
Control beside the module type | Opens the Dependencies view for packages tied to that violation. |
No Dependencies Discovered | The main branch has no dependencies that violate the selected policy. |
Dependencies exist on the branch you opened | Those packages can sit outside the default main-branch view. Other branches report dependency information for the diff only. |
Main branch has violating dependencies | Those packages are listed on the Dependencies page. |
Important Considerations
An empty Dependencies page can still accompany a valid module-type count. The count identifies the violated module type. The package list follows the branch the Dependencies page is displaying.
A feature-branch scan includes the changes on that branch. It does not list the branch’s complete dependency tree.
A main branch with no policy-violating dependencies produces No Dependencies Discovered even when another branch in the same repository has dependencies.
No configuration change or product upgrade is required. The same behavior is described in the code repository Dependencies tab documentation.
Verification and Monitoring
Open the repository build and note whether it is the main branch or another branch.
On the policy summary, confirm the count refers to a module type such as Dependency License.
Open the Dependencies view from the control beside that module type.
When the build is not on main and the page shows No Dependencies Discovered, confirm that the main branch has no dependencies violating the same policy.
Review dependency findings for the non-main branch as diff results.
Platform Coverage
Component: Supply Chain Security, Code Repositories
Platform: Aqua SaaS
Scope: Dependencies tab and assurance-policy violation summaries on code repository build
Summary
The policy line
Showing 1-1/1 Itemsidentifies a violated module type.The control beside that module type opens the Dependencies view.
That view shows main-branch dependencies by default.
No Dependencies Discovered means the main branch has no dependencies that violate the selected policy.
Scans of other branches include the diff on that branch, rather than the branch’s full dependency list.
Related Resources
Did you find it helpful? Yes No
Send feedback