opa test policiesPolicies are built into bundle to make distribution easier.
You can easily build the policies by running
make buildPolicies are written in the Rego language.
package compliance-framework.license_agpl_v3
violation[] {
input.settings.license.spdx_id != "AGPL-3.0"
}
title := "Repository is licenced with AGPL v3.0"
description := "Licensing your open source software is essential to clearly communicate the terms under which others can use, modify, and distribute your code. It helps protect your rights as an author, ensures compliance with legal requirements, and fosters trust and collaboration within the open source community. A well-defined license also prevents misuse and clarifies responsibilities for contributors and users."