Skip to content

Commit

Permalink
Merge pull request #17 from polarityio/feature/INT-1134
Browse files Browse the repository at this point in the history
Feature/int 1134
  • Loading branch information
CJ-Polarity authored Dec 1, 2023
2 parents 299b3ed + 4b29c1a commit 7b464be
Show file tree
Hide file tree
Showing 7 changed files with 4,049 additions and 28 deletions.
27 changes: 19 additions & 8 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ module.exports = {
*/
description:
'Displays information from relevant Crowdstrike Falcon detections based on searching behavioral indicators (process hashes, filenames) and device information (IPv4 address).',
entityTypes: ['md5', 'sha256', 'IPv4', 'domain'],
entityTypes: ['domain', 'MD5', 'SHA256', 'IPv4'],
customTypes: [
{
key: 'exeFile',
regex: /[\w-]{2,}\.(?:exe|dll|dmg|doc|pdf|csv|sh)/
},
}
// {
// key: 'hostname',
// regex: /DESKTOP\-[A-Za-z0-9]*/
Expand Down Expand Up @@ -76,7 +76,7 @@ module.exports = {
ca: '',
// An HTTP proxy to be used. Supports proxy Auth with Basic Auth, identical to support for
// the url parameter (by embedding the auth info in the uri)
proxy: ""
proxy: ''
},
logging: {
// directory is relative to the this integrations directory
Expand Down Expand Up @@ -107,6 +107,15 @@ module.exports = {
userCanEdit: false,
adminOnly: true
},
{
key: 'uiUrl',
name: 'CrowdStrike UI URL',
description: 'The URL for your CrowdStrike UI instance',
default: 'https://falcon.crowdstrike.com',
type: 'text',
userCanEdit: false,
adminOnly: true
},
{
key: 'id',
name: 'Client ID',
Expand All @@ -119,7 +128,8 @@ module.exports = {
{
key: 'secret',
name: 'Client Secret',
description: 'The secret associated with the Client ID. At a minimum, the API key must have \'Read\' access to the \'Detections\' scope.',
description:
"The secret associated with the Client ID. At a minimum, the API key must have 'Read' access to the 'Detections' scope.",
default: '',
type: 'password',
userCanEdit: false,
Expand All @@ -129,7 +139,7 @@ module.exports = {
key: 'searchIoc',
name: 'Search CrowdStrike IOCs',
description:
'If checked, the integration will search IOCs detected in your environment. IOCs (indicators of compromise) are artifacts that include SHA256, MD5 or domain values. The provided API key must have \'Read\' access to the \'IOC Manager APIs\' scope for this option to work.',
"If checked, the integration will search IOCs detected in your environment. IOCs (indicators of compromise) are artifacts that include SHA256, MD5 or domain values. The provided API key must have 'Read' access to the 'IOC Manager APIs' scope for this option to work.",
default: true,
type: 'boolean',
userCanEdit: false,
Expand All @@ -138,7 +148,8 @@ module.exports = {
{
key: 'allowContainment',
name: 'Allow Containment Status Change',
description: 'If checked, users will be able to change the Containment Status of Devices via the integration. The provided API key must have \'Read\' and \'Write\' access to the \'Hosts\' scope for this option to work. This option must be set to "Users can view only".',
description:
"If checked, users will be able to change the Containment Status of Devices via the integration. The provided API key must have 'Read' and 'Write' access to the 'Hosts' scope for this option to work. This option must be set to \"Users can view only\".",
default: false,
type: 'boolean',
userCanEdit: false,
Expand All @@ -148,7 +159,7 @@ module.exports = {
key: 'minimumSeverity',
name: 'Minimum Severity for Detections',
description:
'The minimum severity level required for Detections to be displayed. Defaults to \'Low\'.',
"The minimum severity level required for Detections to be displayed. Defaults to 'Low'.",
default: {
value: 'Low',
display: 'Low'
Expand Down Expand Up @@ -225,7 +236,7 @@ module.exports = {
key: 'showNoResults',
name: 'Show No Results',
description:
'If checked, the integration will return a summary tag indicating a lookup was performed and that there are no results.',
'If checked, the integration will return a summary tag indicating a lookup was performed and that there are no results.',
default: true,
type: 'boolean',
userCanEdit: false,
Expand Down
22 changes: 12 additions & 10 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
"name": "CrowdStrike",
"acronym": "CSTK",
"description": "Displays information from relevant Crowdstrike Falcon detections based on searching behavioral indicators (process hashes, filenames) and device information (IPv4 address).",
"entityTypes": [
"MD5",
"SHA256",
"IPv4",
"domain"
],
"entityTypes": ["MD5", "SHA256", "IPv4", "domain"],
"customTypes": [
{
"key": "exeFile",
Expand All @@ -17,9 +12,7 @@
],
"onDemandOnly": true,
"defaultColor": "light-purple",
"styles": [
"./styles/crowdstrike.less"
],
"styles": ["./styles/crowdstrike.less"],
"block": {
"component": {
"file": "./components/crowdstrike-block.js"
Expand Down Expand Up @@ -48,6 +41,15 @@
"userCanEdit": false,
"adminOnly": true
},
{
"key": "uiUrl",
"name": "CrowdStrike UI URL",
"description": "The URL for your CrowdStrike UI instance",
"default": "https://falcon.crowdstrike.com",
"type": "text",
"userCanEdit": false,
"adminOnly": true
},
{
"key": "id",
"name": "Client ID",
Expand Down Expand Up @@ -179,4 +181,4 @@
"adminOnly": true
}
]
}
}
Loading

0 comments on commit 7b464be

Please sign in to comment.