-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cloud Security] 3P Misconfiguration page empty state (#193051)
- Loading branch information
Showing
14 changed files
with
6,257 additions
and
136 deletions.
There are no files selected for viewing
5,822 changes: 5,822 additions & 0 deletions
5,822
x-pack/plugins/cloud_security_posture/public/assets/illustrations/clouds.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
...loud_security_posture/public/assets/illustrations/misconfigurations_vendors.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
.../cloud_security_posture/public/assets/illustrations/vulnerabilities_vendors.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
x-pack/plugins/cloud_security_posture/public/common/api/use_wiz_integration_route.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { pagePathGetters } from '@kbn/fleet-plugin/public'; | ||
import { useKibana } from '../hooks/use_kibana'; | ||
|
||
export const useAdd3PIntegrationRoute = (pkgkey: string) => { | ||
const { http } = useKibana().services; | ||
|
||
const path = pagePathGetters | ||
.add_integration_to_policy({ | ||
pkgkey, | ||
}) | ||
.join(''); | ||
|
||
return http.basePath.prepend(path); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.