opa-utils

module
v0.0.313 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2026 License: Apache-2.0

README

OPA Utilities package

Framework-scoped result views

exceptions.FilterExceptionsByFrameworks filters posture exceptions with the same case-insensitive and anchored-regexp matching rules used by the exception processor. Returned exceptions are copies whose PosturePolicies contain only the matching (framework, control, rule) tuples, so callers can derive an effective framework status without mutating the shared evaluation result. An empty framework-name slice selects framework-agnostic policies.

Result and summary GetStatus methods carry the effective substatus through rule, control, resource, framework, and top-level views. Summary substatuses are derived from serialized control status information, so this does not add a new report field.

Directories

Path Synopsis
internal/hashmap
Package hashmap provides a hashing function to uniquely identify sets such as map[string]string.
Package hashmap provides a hashing function to uniquely identify sets such as map[string]string.
httpserver
v2
Package score compute a security risk score based on a given framework.
Package score compute a security risk score based on a given framework.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL