Skip to content

Commit

Permalink
Documentation for Java allowed component sources
Browse files Browse the repository at this point in the history
Describes the values that can be used for the
`allowed_java_component_sources` array in the `rule_data`.

resolves: #760
  • Loading branch information
zregvart committed Nov 15, 2023
1 parent 985300f commit bb96264
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions policy/release/java.rego
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
# were rebuilt in house rather than imported directly from potentially
# untrusted respositories.
# If the result is missing no violation is reported.
# The rules depend on the configuration under the key
# 'allowed_java_component_sources', the key lists all component sources that are
# allowed by the policy. The values of the list can be 'rebuilt' for
# dependencies that have been explicitly built from sources, or the name of the
# Maven repository names where the dependency artifact was retrieved from. The
# Maven repositories are configured using the 'JBSConfig' custom resources.
# Default configuration in RHTAP currently includes Maven repositories with
# names : 'jboss', 'confluent', 'redhat', 'jitpack' and 'gradle'.
#
package policy.release.java

Expand Down

0 comments on commit bb96264

Please sign in to comment.