-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question : validationFailureAction and OpenIDConnect #460
Comments
Hey @jumiring,
https://kyverno.github.io/policy-reporter-docs/policy-reporter-ui/custom-boards.html The schema in your screen would be {
"clustername": ["list of namespaces"]
} correct? You could create a feature request. I can take a look on this when I find some time. I think this could be generic enough to be implemented. |
Thank you for your answer.
|
I tried number 1, but it didn't work out the way I wanted it to. Policy.yaml
Pod.yaml
Events generated by the above policy
But the policy report has not been created. |
In your screen blockReports.enabled is false but needs to be true |
Hm sorry, then its an issue in the docs. |
Can you change the source value from Kyverno to lowercase kyverno? Because the source value is case sensitive it switched to a Multi source Dashboard and Splitted Both sources. You might need to delete created Reports from the plugin After this change |
ooooookkkk, I'll try it now! |
I modified the source and it went as I wanted! May I ask you something about the Custom Board as well? In the explanation about creating menus using 'source', what does 'source' mean? Is it possible to configure a custom menu using a specific resource? |
Source relates to the source field of Policy Reports, they are basically the engine which creates the Policy Report. The intention of Custom Boards are a configurable way to define a Dashboard with only a subset of information in comparison to the global dashboard. So you can reduce the information to a subset of namespaces by listing all namespaces you want to display or use a namespace label selector instead, for a more dynamic approach. Sources are only relevant when you use Policy Reporter for multiple tools. E.g. Falco, Trivy and Kyverno. In this scenario you might have a team which is only interested in findings of Kyverno, so you want to create a dashboard which only shows Kyverno results for a subset of namespaces.
Can you give a bit more context to this question? Do you mean if a CRD exists to create a custom board? Or a way to list only specific resources? |
To the first question, a Kind/Resource based filter should be possible. A filter based on resource labels not directly. Policy Reporter / UI uses only the available data of the policy reports to filter and display information. it has no access to the real underlaying resource and its e.g. labels. To your issue, can you confirm that the URI of the details page has the same schema as: http://localhost:3000/#/policies/kyverno/payment%2Frequire-labels -> policies/kyverno/{namespace}%2{policy-name} Can you provide your policy resource, so I can try to reproduce? I tried to reproduce it but it works at least in my case, so need to find out what the reason could be. Are the APIVersions in the resource always empty in your dashboards? |
Hi. Have you been well?
I have two questions.
validationFailureAction
When creating a policy, setting the validationFailureAction option to enforce does not create a report.
Do you know how to generate a report even if I set it to enforce?
OpenIDConnect
I want to know if the function I want is theoretically possible.
Currently, namespace permissions are set for each user in the Keycloak. (Like the bottom)
With this setting, other services linked to Keycloak can only access data for namespaces to which users are authorized.
Is this also possible with this policy-reporter-ui service?
The text was updated successfully, but these errors were encountered: