mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Cloud Security] [Bug Fix] Fix for status unprivileged issue (#159538)
This commit is contained in:
parent
d5e2355f0d
commit
935ae789da
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ export const defineGetCspStatusRoute = (router: CspRouter): void =>
|
|||
}
|
||||
const status = await getCspStatus({
|
||||
...cspContext,
|
||||
esClient: cspContext.esClient.asInternalUser,
|
||||
esClient: cspContext.esClient.asCurrentUser,
|
||||
});
|
||||
return response.ok({
|
||||
body: status,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue