Skip to content

Commit

Permalink
Merge pull request #8 from polarityio/develop
Browse files Browse the repository at this point in the history
INT-1107: Converted expandable types & Removed `requestOptions` from `config.json`
  • Loading branch information
sarus authored Nov 6, 2024
2 parents dc014d6 + 7cdf7e0 commit 7cb380e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-int-dev-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
run-integration-development-checklist:
runs-on: ubuntu-latest
container: 'centos:7'
container: 'rockylinux:8'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
*/
description: 'Query Redis servers and return data for configured key patterns.',
logging: { level: 'info' },
entityTypes: ['*'],
entityTypes: ['IPv4', 'IPv4CIDR', 'IPv6', 'domain', 'url', 'MD5', 'SHA1', 'SHA256', 'email', 'cve', 'MAC', 'string'],
defaultColor: 'light-gray',
/**
* An array of style files (css or less) that will be included for your integration. Any styles specified in
Expand Down Expand Up @@ -56,7 +56,7 @@ module.exports = {
key: '',
passphrase: '',
ca: '',
proxy: ""
proxy: ''
},
/**
* Options that are displayed to the user/admin in the Polarity integration user-interface. Should be structured
Expand Down
24 changes: 15 additions & 9 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@
"name": "Redis",
"acronym": "RED",
"description": "Query Redis servers and return data for configured key patterns.",
"entityTypes": ["*"],
"entityTypes": [
"IPv4",
"IPv4CIDR",
"IPv6",
"domain",
"url",
"MD5",
"SHA1",
"SHA256",
"email",
"cve",
"MAC",
"string"
],
"defaultColor": "light-gray",
"logging": {
"level": "info"
Expand All @@ -17,13 +30,6 @@
"file": "./templates/block.hbs"
}
},
"request": {
"cert": "",
"key": "",
"passphrase": "",
"ca": "",
"proxy": ""
},
"options": [
{
"key": "host",
Expand Down Expand Up @@ -107,4 +113,4 @@
"adminOnly": true
}
]
}
}
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "Redis",
"version": "3.0.7",
"version": "3.0.8",
"main": "./integration.js",
"description": "Query Redis keys",
"private": true,
"dependencies": {
"async": "^3.2.3",
"async": "^3.2.5",
"lodash": "^4.17.21",
"redis": "4.0.6"
}
}
}

0 comments on commit 7cb380e

Please sign in to comment.