This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
generated from JupiterOne-Archives/integration-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29be46f
commit 7ed5a16
Showing
17 changed files
with
37,744 additions
and
596 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
BASE_URL= | ||
API_TOKEN= | ||
ENABLE_FINDINGS_INGESTION= | ||
ENABLE_FINDINGS_INGESTION=true/false | ||
SEVERITIES=INFO,MINOR,MAJOR,CRITICAL,BLOCKER | ||
# JUST FOR INFO: | ||
# INFO, MINOR -> LOW in API Version 2 | ||
# MAJOR -> MEDIUM in API Version 2 | ||
# CRITICAL BLOCKERS -> HIGH in API Version 2 | ||
STATUS=OPEN,CONFIRMED,REOPENED,RESOLVED,CLOSED # 0 or more values you can pass from given values | ||
CREATED_IN_LAST=10d # default value is 10 days | ||
#createdInLast: optional | ||
#To retrieve issues created during a time span before the current time (exclusive). Accepted units are 'y' for year, 'm' for month, 'w' for week and 'd' for day. If this parameter is set, createdAfter must not be set | ||
# Example value: 1m2w (1 month 2 weeks) | ||
TYPES=CODE_SMELL,BUG,VULNERABILITY # 0 or more values you can pass from given values | ||
# JUST FOR INFO: | ||
# CODE_SMELL -> MAINTAINABILITY in API Version 2 | ||
# BUG -> RELIABILITY in API Version 2 | ||
# VULNERABILITY: SECURITY in API Version 2 |
Large diffs are not rendered by default.
Oops, something went wrong.
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,33 @@ | ||
import { IntegrationIngestionConfigFieldMap } from '@jupiterone/integration-sdk-core'; | ||
import { INGESTION_SOURCE_IDS } from './steps/constants'; | ||
|
||
export const ingestionConfig: IntegrationIngestionConfigFieldMap = { | ||
[INGESTION_SOURCE_IDS.ACCOUNT]: { | ||
title: 'Account', | ||
description: 'SonarQube Accounts', | ||
defaultsToDisabled: false, | ||
}, | ||
|
||
[INGESTION_SOURCE_IDS.FINDINGS]: { | ||
title: 'Users', | ||
description: 'SonarQube Issues', | ||
defaultsToDisabled: false, | ||
}, | ||
[INGESTION_SOURCE_IDS.USERS]: { | ||
title: 'Users', | ||
description: 'SonarQube Users', | ||
defaultsToDisabled: false, | ||
}, | ||
|
||
[INGESTION_SOURCE_IDS.PROJECT]: { | ||
title: 'Projects', | ||
description: 'SonarQube Projects', | ||
defaultsToDisabled: false, | ||
}, | ||
|
||
[INGESTION_SOURCE_IDS.USER_GROUPS]: { | ||
title: 'User Groups', | ||
description: 'SonarQube Groups', | ||
defaultsToDisabled: false, | ||
}, | ||
}; |
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
Oops, something went wrong.