Skip to content

Commit 4678c8f

Browse files
authored
Update system information client scope to Auth template (#486)
* Update system information client scope to Auth template Signed-off-by: desmax74 <[email protected]>
1 parent 5ee58be commit 4678c8f

File tree

1 file changed

+2
-1
lines changed
  • helm-charts/redhat-trusted-profile-analyzer/templates/helpers

1 file changed

+2
-1
lines changed

helm-charts/redhat-trusted-profile-analyzer/templates/helpers/_auth.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ authentication:
152152
- "read.metadata"
153153
- "update.metadata"
154154
- "delete.metadata"
155+
- "read.systemInformation"
155156
"trustify/sbom":
156157
- "create.sbom"
157158
- "read.sbom"
@@ -172,7 +173,7 @@ authentication:
172173
issuerUrl: {{ include "trustification.oidc.issuerUrlForClient" (dict "root" .root "clientId" "frontend" ) }}
173174
scopeMappings: &keycloakScopeMappings
174175
"create:document": [ "create.advisory", "create.importer", "create.metadata", "create.sbom", "create.weakness", "upload.dataset" ]
175-
"read:document": [ "ai", "read.advisory", "read.importer", "read.metadata", "read.sbom", "read.weakness" ]
176+
"read:document": [ "ai", "read.advisory", "read.importer", "read.metadata", "read.sbom", "read.weakness", "read.systemInformation" ]
176177
"update:document": [ "update.advisory", "update.importer", "update.metadata", "update.sbom", "update.weakness" ]
177178
"delete:document": [ "delete.advisory", "delete.importer", "delete.metadata", "delete.sbom", "delete.vulnerability", "delete.weakness" ]
178179
{{- with .root.Values.tls.additionalTrustAnchor }}

0 commit comments

Comments
 (0)