The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package gorules defines custom lint rules for ruleguard.
golangci-lint runs these rules via go-critic, which includes support
for ruleguard. All Go files in this directory define lint rules
in the Ruleguard DSL; see:
HttpAPIErrorMessage intends to enforce constructing proper sentences as
error messages for the api. A proper sentence includes proper capitalization
and ends with punctuation.
There are ways around the linter, but this should work in the common cases.
ProperRBACReturn ensures we always write to the response writer after a
call to Authorize. If we just do a return, the client will get a status code
200, which is incorrect.
This program generates an input.json file containing action, object, and subject fields to be used as input for `opa eval`, e.g.: > opa eval --format=pretty "data.authz.allow" -d policy.rego -i input.json This helps verify that the policy returns the expected authorization decision.
This program generates an input.json file containing action, object, and subject fields to be used as input for `opa eval`, e.g.: > opa eval --format=pretty "data.authz.allow" -d policy.rego -i input.json This helps verify that the policy returns the expected authorization decision.