mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Cloud Security] Added UI support for waiting for results (#154969)
This commit is contained in:
parent
206b331696
commit
6ced0d6ee6
2 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ export const NoFindingsStates = ({ posturetype }: { posturetype: PostureTypes })
|
|||
.sort((a, b) => a.localeCompare(b));
|
||||
const render = () => {
|
||||
if (status === 'not-deployed') return <NotDeployed />; // integration installed, but no agents added
|
||||
if (status === 'indexing') return <Indexing />; // agent added, index timeout hasn't passed since installation
|
||||
if (status === 'indexing' || status === 'waiting_for_results') return <Indexing />; // agent added, index timeout hasn't passed since installation
|
||||
if (status === 'index-timeout') return <IndexTimeout />; // agent added, index timeout has passed
|
||||
if (status === 'unprivileged')
|
||||
return <Unprivileged unprivilegedIndices={unprivilegedIndices || []} />; // user has no privileges for our indices
|
||||
|
|
|
@ -206,7 +206,7 @@ export const NoVulnerabilitiesStates = () => {
|
|||
.sort((a, b) => a.localeCompare(b));
|
||||
|
||||
const render = () => {
|
||||
if (status === 'not-deployed' || status === 'indexing')
|
||||
if (status === 'not-deployed' || status === 'indexing' || status === 'waiting_for_results')
|
||||
return <ScanningVulnerabilitiesEmptyPrompt />; // integration installed, but no agents added
|
||||
if (status === 'index-timeout') return <IndexTimeout />; // agent added, index timeout has passed
|
||||
if (status === 'not-installed')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue