Skip to content

Commit

Permalink
Cont3xt insecure integration (arkime#2730)
Browse files Browse the repository at this point in the history
* had insecure logic backwards

* had insecure logic backwards

* messed up my push
  • Loading branch information
awick authored Apr 1, 2024
1 parent ad7cdad commit 8d8b42d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ NOTICE: Create a parliament config file before upgrading (see https://arkime.com
## Cont3xt
- #2683 lock integration settings
- #2240 snap to dates
- #2730 Arkime/OpenSearch/Elasticsearch integration had insecure logic backwards
## Viewer
- #2668 fix pcap export with only default time range and no date param in url
- #2680 add default user settings to viewer config
Expand Down
3 changes: 2 additions & 1 deletion cont3xt/integrations/arkime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/

const Integration = require('../../integration.js');
const ArkimeConfig = require('../../../common/arkimeConfig');
const ArkimeUtil = require('../../../common/arkimeUtil');
Expand Down Expand Up @@ -177,7 +178,7 @@ class ArkimeIntegration extends Integration {
requestTimeout: 300000,
maxRetries: 2,
ssl: {
rejectUnauthorized: !!ArkimeConfig.getFull(section, 'insecure', true)
rejectUnauthorized: !ArkimeConfig.getFull(section, 'insecure', false)
}
};

Expand Down
3 changes: 2 additions & 1 deletion cont3xt/integrations/elasticsearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/

const Integration = require('../../integration.js');
const ArkimeConfig = require('../../../common/arkimeConfig');
const ArkimeUtil = require('../../../common/arkimeUtil');
Expand Down Expand Up @@ -80,7 +81,7 @@ class ElasticsearchIntegration extends Integration {
requestTimeout: 300000,
maxRetries: 2,
ssl: {
rejectUnauthorized: !!ArkimeConfig.getFull(section, 'insecure', true)
rejectUnauthorized: !ArkimeConfig.getFull(section, 'insecure', false)
}
};

Expand Down

0 comments on commit 8d8b42d

Please sign in to comment.