Skip to content

Commit

Permalink
[all] Fix create indicator is boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed Mar 3, 2022
1 parent 62d7718 commit b547a9f
Show file tree
Hide file tree
Showing 132 changed files with 148 additions and 134 deletions.
2 changes: 1 addition & 1 deletion external-import/alienvault/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-alienvault:
image: opencti/connector-alienvault:5.1.4
image: opencti/connector-alienvault:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/alienvault/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
pydantic==1.8.2
OTXv2==1.5.12
2 changes: 1 addition & 1 deletion external-import/amitt/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-amitt:
image: opencti/connector-amitt:5.1.4
image: opencti/connector-amitt:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/amitt/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
python-dateutil==2.8.1
2 changes: 1 addition & 1 deletion external-import/cape/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cape:
image: opencti/connector-cape:5.1.4
image: opencti/connector-cape:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/cape/src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ certifi==2021.5.30
chardet==4.0.0
datefinder==0.7.1
idna==2.10
pycti==5.1.4
pycti==5.2.0
python-dateutil==2.8.1
pytz==2021.1
regex==2021.8.28
Expand Down
2 changes: 1 addition & 1 deletion external-import/crowdstrike/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-crowdstrike:
image: opencti/connector-crowdstrike:5.1.4
image: opencti/connector-crowdstrike:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/crowdstrike/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-e git+https://github.com/certeu/crowdstrike-client#egg=crowdstrike-client
pycti==5.1.4
pycti==5.2.0
lxml==4.7.1
2 changes: 1 addition & 1 deletion external-import/cryptolaemus/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cryptolaemus:
image: opencti/connector-cryptolaemus:5.1.4
image: opencti/connector-cryptolaemus:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/cryptolaemus/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
python-dateutil==2.8.1
feedparser==6.0.2
Expand Down
2 changes: 1 addition & 1 deletion external-import/cuckoo/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cuckoo:
image: opencti/connector-cuckoo:5.1.4
image: opencti/connector-cuckoo:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/cuckoo/src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ certifi==2021.5.30
chardet==4.0.0
datefinder==0.7.1
idna==2.10
pycti==5.1.4
pycti==5.2.0
python-dateutil==2.8.1
pytz==2021.1
regex==2021.8.28
Expand Down
2 changes: 1 addition & 1 deletion external-import/cve/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cve:
image: opencti/connector-cve:5.1.4
image: opencti/connector-cve:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/cve/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
certifi==2020.6.20
2 changes: 1 addition & 1 deletion external-import/cyber-threat-coalition/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cyber-threat-coalition:
image: opencti/connector-cyber-threat-coalition:5.1.4
image: opencti/connector-cyber-threat-coalition:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def __init__(self):
"CYBER_THREAT_COALITION_CREATE_INDICATORS",
["cyber-threat-coalition", "create_indicators"],
config,
False,
True,
)
self.cyber_threat_coalition_create_observables = get_config_variable(
"CYBER_THREAT_COALITION_CREATE_OBSERVABLES",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
feedparser==6.0.2
2 changes: 1 addition & 1 deletion external-import/cybercrime-tracker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-cybercrimetracker:
image: opencti/connector-cybercrime-tracker:5.1.4
image: opencti/connector-cybercrime-tracker:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/cybercrime-tracker/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
feedparser==6.0.2
pygrok==1.0.0
2 changes: 1 addition & 1 deletion external-import/kaspersky/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"
services:
connector-kaspersky:
image: opencti/connector-kaspersky:5.1.4
image: opencti/connector-kaspersky:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/kaspersky/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
pydantic==1.8.2
lxml==4.7.1
2 changes: 1 addition & 1 deletion external-import/lastinfosec/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.2'
services:
connector-lastinfosec:
image: connector-lastinfosec:5.1.4
image: connector-lastinfosec:5.2.0
environment:
- OPENCTI_URL=ChangeMe
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/lastinfosec/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
2 changes: 1 addition & 1 deletion external-import/malpedia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
connector-malpedia:
image: opencti/connector-malpedia:5.1.4
image: opencti/connector-malpedia:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/malpedia/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
pydantic==1.8.2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-malware-bazaar-recent-additions:
image: opencti/connector-malwarebazaar-recent-additions:5.1.4
image: opencti/connector-malwarebazaar-recent-additions:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=ChangeMe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
pyzipper==0.3.5
2 changes: 1 addition & 1 deletion external-import/mandiant/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-mandiant:
image: opencti/connector-mandiant:5.1.4
image: opencti/connector-mandiant:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
4 changes: 2 additions & 2 deletions external-import/mandiant/src/mandiant.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _search(self, stix_id, retry=False):
headers = {
"authorization": "Bearer " + self.auth_token,
"accept": "application/vnd.oasis.stix+json; version=2.1",
"x-app-name": "opencti-connector-5.1.4",
"x-app-name": "opencti-connector-5.2.0",
}
body = """
{
Expand Down Expand Up @@ -151,7 +151,7 @@ def _query(self, url, retry=False):
headers = {
"authorization": "Bearer " + self.auth_token,
"accept": "application/vnd.oasis.stix+json; version=2.1",
"x-app-name": "opencti-connector-5.1.4",
"x-app-name": "opencti-connector-5.2.0",
}
r = requests.get(url, headers=headers)
if r.status_code == 200:
Expand Down
2 changes: 1 addition & 1 deletion external-import/mandiant/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pycti==5.1.4
pycti==5.2.0
2 changes: 1 addition & 1 deletion external-import/misp/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-misp:
image: opencti/connector-misp:5.1.4
image: opencti/connector-misp:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/misp/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.7
pymisp
python-dateutil==2.8.2
2 changes: 1 addition & 1 deletion external-import/mitre/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-mitre:
image: opencti/connector-mitre:5.1.4
image: opencti/connector-mitre:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/mitre/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
certifi==2020.12.5
2 changes: 1 addition & 1 deletion external-import/obstracts/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-taxii2:
image: opencti/connector-obstracts:5.1.4
image: opencti/connector-obstracts:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/obstracts/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
antlr4-python3-runtime
certifi
chardet
Expand Down
2 changes: 1 addition & 1 deletion external-import/opencti/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-opencti:
image: opencti/connector-opencti:5.1.4
image: opencti/connector-opencti:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/opencti/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.5
2 changes: 1 addition & 1 deletion external-import/restore-files/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
connector-restore-files:
image: opencti/connector-restore-files:5.1.4
image: opencti/connector-restore-files:5.2.0
environment:
- OPENCTI_URL=http://localhost # Local OpenCTI URL
- OPENCTI_TOKEN=ChangeMe # Local OpenCTI token
Expand Down
2 changes: 1 addition & 1 deletion external-import/restore-files/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pycti==5.1.4
pycti==5.2.0
2 changes: 1 addition & 1 deletion external-import/riskiq/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-riskiq:
image: opencti/connector-riskiq:5.1.4
image: opencti/connector-riskiq:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/riskiq/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
urllib3==1.26.6
6 changes: 5 additions & 1 deletion external-import/riskiq/src/riskiq/riskiq.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ def __init__(self):
"RISKIQ_PASSWORD", ["riskiq", "password"], config
)
self.create_indicators = get_config_variable(
"RISKIQ_CREATE_INDICATORS", ["riskiq", "create_indicators"], config, True
"RISKIQ_CREATE_INDICATORS",
["riskiq", "create_indicators"],
config,
False,
True,
)
# Create the author for all reports.
self.author = Identity(
Expand Down
2 changes: 1 addition & 1 deletion external-import/sekoia/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-sekoia:
image: opencti/connector-sekoia:5.1.4
image: opencti/connector-sekoia:5.2.0
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/sekoia/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
python-dateutil==2.8.1
2 changes: 1 addition & 1 deletion external-import/siemrules/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-taxii2:
image: opencti/connector-siemrules:5.1.4
image: opencti/connector-siemrules:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/siemrules/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
antlr4-python3-runtime
certifi
chardet
Expand Down
2 changes: 1 addition & 1 deletion external-import/stixify/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-taxii2:
image: opencti/connector-stixify:5.1.4
image: opencti/connector-stixify:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/stixify/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
antlr4-python3-runtime
certifi
chardet
Expand Down
2 changes: 1 addition & 1 deletion external-import/taxii2/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-taxii2:
image: opencti/connector-taxii2:5.1.4
image: opencti/connector-taxii2:5.2.0
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=CHANGME
Expand Down
2 changes: 1 addition & 1 deletion external-import/taxii2/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pycti==5.1.4
pycti==5.2.0
antlr4-python3-runtime
certifi
chardet
Expand Down
2 changes: 1 addition & 1 deletion external-import/thehive/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
connector-thehive:
image: opencti/connector-thehive:5.1.4
image: opencti/connector-thehive:5.2.0
environment:
- OPENCTI_URL=http://localhost
- OPENCTI_TOKEN=ChangeMe
Expand Down
2 changes: 1 addition & 1 deletion external-import/thehive/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycti==5.1.4
pycti==5.2.0
thehive4py
Loading

0 comments on commit b547a9f

Please sign in to comment.