-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from sysdiglabs/dev-proxy-endpoints
Abstract proxy endpoint paths
- Loading branch information
Showing
7 changed files
with
78 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* Sysdig Endpoints */ | ||
|
||
// Proxy path to Sysdig's endpoint. Edit this if using a custom proxy ;) | ||
export const API_PROXY_BASE_PATH = "/api/proxy/sysdig"; | ||
|
||
/* | ||
* API paths for Sysdig results | ||
*/ | ||
|
||
// API Endpoint for Vulnerability Management at Runtime | ||
export const API_VULN_RUNTIME = "/secure/vulnerability/v1beta1/runtime-results"; | ||
|
||
// API Endpoint for Vulnerability Management at Registry | ||
export const API_VULN_REGISTRY = "/secure/vulnerability/v1beta1/registry-results"; | ||
|
||
// API Endpoint for Vulnerability Management at Pipeline | ||
export const API_VULN_PIPELINE = "/secure/vulnerability/v1beta1/pipeline-results"; | ||
|
||
// API Endpoint for Inventory (Posture) | ||
export const API_INVENTORY = "/api/cspm/v1/inventory/resources"; | ||
|
||
/* | ||
* Backlink paths to product | ||
*/ | ||
|
||
// Backlink path to Vulnerability Management at Runtime | ||
export const BACKLINK_VULN_RUNTIME = "#/vulnerabilities/runtime/"; | ||
|
||
// Backlink path to Vulnerability Management at Registry | ||
export const BACKLINK_VULN_REGISTRY = "#/vulnerabilities/registry/"; | ||
|
||
// Backlink path to Vulnerability Management at Pipeline | ||
export const BACKLINK_VULN_PIPELINE = "#/vulnerabilities/pipeline/"; | ||
|
||
// Backlink path to Inventory | ||
export const BACKLINK_INVENTORY = "#/inventory"; |
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