Open Policy Agent good first issues

28 open Open Policy Agent issues currently match the default 10+ star filter. Scored difficulty: 5,946 at 1/5, 8,786 at 2/5, 12,696 at 3/5, 12,117 at 4/5, 857 at 5/5. This hub uses the same feed as the homepage, limited to repositories whose GitHub language is Open Policy Agent.

All languages · Browse projects · How to find good first issues

Active projects

Unique repos with open help-wanted issues updated in the last 30 days

Showing 28 of ~28 matching filters (Open Policy Agent · 10+ stars)

List

test: add tests for cmmc_maintenance.rego (CMMC)

AI summary

This issue requests the addition of unit tests for the `cmmc_maintenance.rego` policy file. The goal is to ensure each of the approximately six boolean rules within this policy is adequately tested with inputs that trigger both true and false conditions, and that the overall compliance report is a populated object even with empty input.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for authorization.rego (AI governance)

AI summary

This issue requests the addition of comprehensive unit tests for the `authorization.rego` policy within the AI governance module. The goal is to ensure each of the approximately seven boolean rules is tested with both true and false input cases, and that the overall compliance report behaves as expected, particularly on empty input.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for context_validation.rego (AI governance)

AI summary

This issue requests the addition of comprehensive unit tests for the `context_validation.rego` policy, which enforces AI governance standards. The tests should cover approximately 10 boolean rules, ensuring each rule can be triggered with both compliant and non-compliant input, and that the overall report is a populated object on empty input.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for soc2_main.rego (SOC 2)

AI summary

This issue requests the addition of unit tests for the `soc2_main.rego` policy file. The goal is to ensure that each of the approximately five boolean rules within this policy is exercised with both compliant and non-compliant input, and that the overall compliance report is correctly generated.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for gdpr_compliance.rego (GDPR)

AI summary

This issue requests the addition of comprehensive unit tests for the `gdpr_compliance.rego` policy. The goal is to ensure each of the approximately 21 boolean rules is tested with inputs that make them both true and false, while also verifying the overall compliance report structure.

help wantedgood first issue
19
Difficulty
3/5

test: add tests for sentinel_ansible.rego (Ansible enforcement)

AI summary

This issue requests the addition of unit tests for the `sentinel_ansible.rego` policy, which enforces Ansible standards. The tests should cover all five defined violation rules by providing input that triggers each violation and asserting the correct error message. Additionally, compliant input should be tested to ensure no violations are reported, and the compliance report should be verified as a populated object on empty input.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for geisa_api.rego (GEISA)

AI summary

This issue requests the addition of comprehensive unit tests for the `geisa_api.rego` policy file. The tests should cover all 9 defined violation rules by providing input that triggers each violation and verifying the expected message. Additionally, tests for compliant input that result in an empty violation set are required, and the compliance report should be asserted as a populated object for empty input.

help wantedgood first issue
19
Difficulty
3/5

test: add tests for sudo_validation.rego (CIS RHEL 8)

AI summary

This issue requests the addition of comprehensive unit tests for the `sudo_validation.rego` policy within the CIS RHEL 8 benchmark. The goal is to ensure all 14 violation rules are covered with specific test cases that trigger violations and compliant cases that result in no violations, ultimately verifying the policy's correctness.

help wantedgood first issue
19
Difficulty
2/5

test: add tests for sudo_validation.rego (CIS RHEL 9)

AI summary

This issue requests the addition of comprehensive unit tests for the `sudo_validation.rego` policy within the CIS RHEL 9 benchmark. The goal is to ensure all 14 violation rules are covered with specific test cases that trigger them, and also to include compliant test cases where no violations are found. The tests should be placed in `benchmarks/cis/rhel_9/tests/test_sudo_validation.rego` and pass the `opa test` command.

help wantedgood first issue
19
Difficulty
3/5

test: add tests for selinux_validation.rego (CIS RHEL 9)

AI summary

This issue requests the addition of comprehensive unit tests for the `selinux_validation.rego` policy within the CIS RHEL 9 benchmark. The goal is to ensure each of the 13 violation rules is covered with both failing and compliant input cases, and that the overall compliance report functions correctly.

help wantedgood first issue
19
Difficulty
3/5

Document rule_data defaults inclusion criteria and priority hierarchy in AGENTS.md

AI summary

This issue highlights a documentation gap in the AGENTS.md file regarding the `rule_data` defaults mechanism and its priority hierarchy. A review agent incorrectly approved a change that added a vendor-specific build type to global defaults, which should have been a per-deployment configuration. The documentation needs to clarify inclusion criteria for global defaults versus custom configurations to prevent similar mistakes.

documentationgood first issuesize: Sready-to-codeready-for-triage
20
Difficulty
2/5

Correct misleading collection-registration guidance in AGENTS.md

AI summary

This issue identifies misleading documentation in AGENTS.md regarding how collections are registered. The current guidance suggests editing collection files, but collections are actually declared via METADATA annotations in rule files. The proposed change is to update AGENTS.md to accurately reflect this mechanism.

documentationgood first issuesize: XSready-to-code
20
Difficulty
1/5

Document testing expectations for new collection definitions in AGENTS.md

AI summary

This issue highlights a gap in the review agent's understanding of testing expectations for new collection definitions. The proposed solution is to update the AGENTS.md documentation to explicitly state that new collection definitions themselves do not require new tests, as existing tests cover collection filtering and dependency consistency.

documentationgood first issuesize: XSready-to-codeready-for-triage
20
Difficulty
2/5

Update stale enterprise-contract reference in hack/update-infra-deployments.sh

AI summary

This issue proposes creating a tracking issue in the conforma/policy repository to update a hardcoded reference in the `hack/update-infra-deployments.sh` script. The script currently points to a stale `enterprise-contract` image, and the goal is to update it to its `conforma` equivalent or document why it remains unchanged.

good first issuesize: XStoolingready-to-code
20
Difficulty
2/5

Remove stale generated documentation when policy packages are deleted

AI summary

This issue proposes to remove stale generated documentation files (.adoc) that remain in the repository after their corresponding policy packages are deleted. The current CI process does not detect these leftover files. The suggested solution is to clear the entire `packages/` directory before regenerating documentation, as all files within it are generated.

documentationgood first issueready-to-code
20
Difficulty
2/5

Add effective_on review checklist item to AGENTS.md for new deny rules

AI summary

The review agent missed a crucial `effective_on` date for new deny rules, leading to immediate enforcement. This issue proposes adding an explicit checklist item to AGENTS.md to ensure the agent flags missing `effective_on` dates for future policy rule additions.

documentationgood first issueready-to-code
20
Difficulty
2/5

Document default values for CVE rule data keys in user-facing docs

AI summary

This issue requests improving the documentation for default values of CVE rule data keys. Currently, defaults are scattered and not clearly presented, leading to potential confusion. The proposed solution involves creating a dedicated section for default values in the CVE package documentation and potentially a cross-cutting reference page for all rule data defaults.

documentationgood first issueready-to-code
20
Difficulty
2/5

Add exclusion information to per-rule documentation

AI summary

This issue proposes enhancing the generated rule documentation to include clear instructions on how to exclude specific rules from policy evaluation. The goal is to standardize this information across all per-rule documentation pages by updating the `package.template` to automatically include exclusion details using existing rule metadata.

documentationenhancementgood first issueready-to-code
20
Difficulty
2/5

Document the expected policy rule result format and result_helper functions in the authoring guide

AI summary

This issue requests documentation updates for the Policy Authoring guide. It needs to detail the expected structure of policy rule results, including fields like 'code', 'msg', 'effective_on', and optional fields. Additionally, it requires documentation for helper functions like `result_helper` that generate correctly formatted results using annotations.

documentationenhancementgood first issueready-to-code
20
Difficulty
2/5

Replace "Code tampering detected" with a less alarmist message

AI summary

This issue proposes to change the "Code tampering detected" message to something less alarming and more descriptive. The current message is triggered when a trusted artifact input isn't from the pipeline or when an untrusted PipelineTask is in the build chain. The goal is to provide a clearer indication of configuration issues or unlisted tasks.

enhancementgood first issuefeaturetriaged
20
Difficulty
2/5

Add policy rule to prevent variable substitution in Tekton Task script blocks

AI summary

This issue proposes adding a Conforma policy rule to prevent the direct use of Tekton parameters within `spec.steps[].script` blocks in Task definitions. This is a security measure to mitigate command injection vulnerabilities, as recommended by Tekton documentation. The rule should scan for `$(params.` patterns in script blocks and flag them as violations.

enhancementgood first issuefeaturetriaged
20
Difficulty
2/5

Document how to use time-based data (effective_on) in policy rule data

AI summary

This issue requests comprehensive documentation for using time-based data (`effective_on`) within policy rule data sources. The current documentation is fragmented, and a user-facing guide is needed to explain the general concept, how `most_current()` functions, data structuring for phased changes, and provide concrete examples across various rule types.

documentationgood first issue
20
Difficulty
2/5

Document how to use policy/lib functions in custom policies

AI summary

This issue requests documentation for using the `policy/lib` helper functions within custom Conforma/EC policies. It aims to clarify available library packages, how to import them, provide usage examples, and explain the relationship between deprecated and new library paths. The goal is to enable users to reuse existing logic instead of reimplementing common patterns.

documentationgood first issue
20
Difficulty
2/5

listOfDangerousArtifacts defined but not used

AI summary

The `listOfDangerousArtifacts` array is defined within `default-config-inputs.json` but appears to be unused by any existing rules or code. This suggests it might be dead code or an incomplete feature that was never fully implemented.

buggood first issue
129
Difficulty
2/5

Also browsing: Python , TypeScript , JavaScript