Closed romans8 closed 3 years ago
I tried deleting the project and trying again to get this error.
2020-11-18 20:35:14,830 restfly.errors.BadRequestError ERROR [400: POST] https://domain.atlassian.net/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10038":"Field \'customfield_10038\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10039":"Field \'customfield_10039\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10035":"Field \'customfield_10035\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10036":"Field \'customfield_10036\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10037":"Field \'customfield_10037\' cannot be set. It is not on the appropriate screen, or unknown."}}'
When using the default Query ID: 406 this seems to run however I don't see any of the vulns copy over
You have to provide the query ID of a quesry that you have defined within Tenable.sc. As for the original issue, can you please paste the output of a run of the integration with the --troubleshoot
flag?
jira:
address: <REDACTED>
api_token: <REDACTED>
api_username: <REDACTED>
log:
filename: /log/tenable.log
format: '%(asctime)-15s %(name)s %(levelname)s %(message)s'
level: 30
project:
leadAccountId: <REDACTED>
service:
interval: 24
tenable:
access_key: <REDACTED>
address: <REDACTED>
platform: tenable.sc
query_id: 568
secret_key: <REDACTED>
tio_severities:
- critical
- high
- medium
- low
2020-11-19 19:41:51,652 root INFO Tenable2JiraCloud Version 1.1.17
2020-11-19 19:41:51,652 root INFO Using configuration file /etc/tenable-jira/config.yaml
2020-11-19 19:41:51,655 root INFO Running on Python 3.7.3 Linux/x86_64
2020-11-19 19:41:51,657 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/system", "params": {}, "body": {}}
2020-11-19 19:41:51,660 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <TENABLE_SC_HOST>:443
2020-11-19 19:41:51,861 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/system HTTP/1.1" 200 None
2020-11-19 19:41:51,864 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/project/VULN", "params": {}, "body": {}}
2020-11-19 19:41:51,866 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <JIRA_CLOUD_HOST>:443
2020-11-19 19:41:52,448 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/project/VULN HTTP/1.1" 200 None
2020-11-19 19:41:52,451 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {}}
2020-11-19 19:41:52,803 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/field HTTP/1.1" 200 None
2020-11-19 19:41:52,876 tenable_jira.jira.Jira INFO Tenable Platform is customfield_10029 (existing)
2020-11-19 19:41:52,876 tenable_jira.jira.Jira INFO CVEs is customfield_10030 (existing)
2020-11-19 19:41:52,876 tenable_jira.jira.Jira INFO CVSSv2 Base Score is customfield_10031 (existing)
2020-11-19 19:41:52,876 tenable_jira.jira.Jira INFO CVSSv2 Temporal Score is customfield_10032 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO CVSSv3 Base Score is customfield_10033 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO CVSSv3 Temporal Score is customfield_10034 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Patch Publication Date is customfield_10035 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Tenable Plugin ID is customfield_10036 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Tenable Plugin Family is customfield_10037 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Tenable Plugin Name is customfield_10038 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Vulnerability Severity is customfield_10039 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Tenable Asset UUID is customfield_10040 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Tenable Asset Tags is customfield_10041 (existing)
2020-11-19 19:41:52,877 tenable_jira.jira.Jira INFO Device MAC Addresses is customfield_10042 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device IPv4 Addresses is customfield_10043 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device IPv6 Addresses is customfield_10044 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device Hostname is customfield_10045 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device NetBIOS Name is customfield_10046 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device DNS Name is customfield_10047 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Device Network ID is customfield_10048 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Vulnerability First Seen is customfield_10049 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Vulnerability Last Seen is customfield_10050 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Vulnerability Last Fixed is customfield_10051 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Vulnerability State is customfield_10052 (existing)
2020-11-19 19:41:52,878 tenable_jira.jira.Jira INFO Vulnerability Port is customfield_10053 (existing)
2020-11-19 19:41:52,879 tenable_jira.jira.Jira INFO Vulnerability Protocol is customfield_10054 (existing)
2020-11-19 19:41:52,879 tenable_jira.jira.Jira INFO Vulnerability Repository ID is customfield_10055 (existing)
2020-11-19 19:41:52,879 tenable_jira.jira.Jira INFO Vulnerability Repository Name is customfield_10056 (existing)
2020-11-19 19:41:52,879 tenable_jira.jira.Jira INFO Tenable VPR Score is customfield_10057 (existing)
2020-11-19 19:41:52,879 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issuetype", "params": {}, "body": {}}
2020-11-19 19:41:53,055 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/issuetype HTTP/1.1" 200 None
2020-11-19 19:41:53,057 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens", "params": {"startAt": -100, "maxResults": 100}, "body": {}}
2020-11-19 19:41:53,209 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens?startAt=-100&maxResults=100 HTTP/1.1" 200 None
2020-11-19 19:41:53,211 tenable_jira.transform.Tio2Jira INFO Using JIRA Screens [10011, 10012]
2020-11-19 19:41:53,212 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs", "params": {}, "body": {}}
2020-11-19 19:41:53,362 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs HTTP/1.1" 200 None
2020-11-19 19:41:53,363 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {}}
2020-11-19 19:41:53,532 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-19 19:41:53,534 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10011:10016
2020-11-19 19:41:53,535 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10011:10016
2020-11-19 19:41:53,536 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {}}
2020-11-19 19:41:53,919 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10011:10017
2020-11-19 19:41:53,922 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10011:10017
2020-11-19 19:41:53,923 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs", "params": {}, "body": {}}
2020-11-19 19:41:54,067 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs HTTP/1.1" 200 None
2020-11-19 19:41:54,070 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {}}
2020-11-19 19:41:54,214 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10012:10018
2020-11-19 19:41:54,217 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10012:10018
2020-11-19 19:41:54,218 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {}}
2020-11-19 19:41:54,366 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10012:10019
2020-11-19 19:41:54,368 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10012:10019
2020-11-19 19:41:54,369 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10012:10019
2020-11-19 19:41:54,369 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10012:10019
2020-11-19 19:41:54,369 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10012:10019
2020-11-19 19:41:54,369 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10012:10019
2020-11-19 19:41:54,369 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/query/568?fields=filters", "params": {}, "body": {}}
2020-11-19 19:41:54,473 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/query/568?fields=filters HTTP/1.1" 200 123
2020-11-19 19:41:54,474 tenable.sc.TenableSC DEBUG {"method": "POST", "url": "https://<TENABLE_SC_HOST>:443/rest/analysis", "params": {}, "body": {"type": "vuln", "sourceType": "cumulative", "query": {"tool": "vulndetails", "type": "vuln", "filters": [{"filterName": "lastSeen", "operator": "=", "value": "0-1605814914"}], "startOffset": 0, "endOffset": 1000}}}
2020-11-19 19:42:00,515 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "POST /rest/analysis HTTP/1.1" 200 None
2020-11-19 19:42:00,559 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/search", "params": {}, "body": {"jql": "project = \"VULN\" and issuetype = \"Task\" and status not in (Closed, Done, Resolved) and \"Tenable Plugin ID\" ~ \"10150\""}}
2020-11-19 19:42:00,776 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/search HTTP/1.1" 200 None
2020-11-19 19:42:00,779 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issue", "params": {"update_history": false}, "body": {"fields": {"project": {"key": "VULN"}, "issuetype": {"id": "10002"}, "customfield_10035": "-1", "customfield_10036": "10150", "customfield_10037": "Windows", "customfield_10038": "Windows NetBIOS / SMB Remote Host Information Disclosure", "customfield_10039": "Info", "summary": "[10150] Windows NetBIOS / SMB Remote Host Information Disclosure", "description": {"version": 1, "type": "doc", "content": [{"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Description"}]}, {"type": "paragraph", "content": [{"type": "text", "text": "The remote host is listening on UDP port 137 or TCP port 445, and replies to NetBIOS nbtscan or SMB requests.\n\nNote that this plugin gathers information to be used in other plugins, but does not itself generate a report."}]}, {"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Solution"}]}, {"type": "paragraph", "content": [{"type": "text", "text": ""}]}]}}}}
2020-11-19 19:42:01,038 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/issue?update_history=False HTTP/1.1" 400 None
2020-11-19 19:42:01,041 restfly.errors.BadRequestError ERROR [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10038":"Field \'customfield_10038\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10039":"Field \'customfield_10039\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10035":"Field \'customfield_10035\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10036":"Field \'customfield_10036\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10037":"Field \'customfield_10037\' cannot be set. It is not on the appropriate screen, or unknown."}}'
2020-11-19 19:42:01,041 root ERROR Caught the following Exception
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 363, in _process_open_vuln
i = self._jira.issues.upsert(fields=issue, jql=' and '.join(jql))
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 48, in upsert
issue = self.create(**kwargs)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 20, in create
json=kwargs
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 563, in post
return self._request('POST', path, **kwargs)
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 477, in _request
raise err(resp, retries=retries, func=self._error_func)
restfly.errors.BadRequestError: [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10038":"Field \'customfield_10038\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10039":"Field \'customfield_10039\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10035":"Field \'customfield_10035\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10036":"Field \'customfield_10036\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10037":"Field \'customfield_10037\' cannot be set. It is not on the appropriate screen, or unknown."}}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/cli.py", line 151, in cli
ingest.ingest(observed_since)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 674, in ingest
self.create_issues(vulns)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 477, in create_issues
self._process_open_vuln(v, fid)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 366, in _process_open_vuln
sys.exit(2)
SystemExit: 2
10002: Task
10003: Sub-task
/-------------------------------NOTICE-----------------------------------\ | The output above is helpful for us to troubleshoot exactly what is | happening within the code and offer a diagnosis for how to correct. | Please note that while some basic redaction has already been performed | that we ask you to review the information you're about to send and | ensure that nothing deemed sensitive is transmitted. | ||||
---|---|---|---|---|---|---|---|---|---|
-- Copy of output saved to "issue_debug.md" |
------------------------------------------------------------------------/
Can you verify that you have the following permissions assigned to the user: https://github.com/tenable/integration-jira-cloud#permissions
Yes validated the user has site admin.
settings - user management - groups - site-admins
sadly based on conversations from atlassian support and some prior experiences with other folks, that may not be enough. you may need to explicitly define the permissions for that user.
Vuln Management - Project Settings - Permissions - Actions - Edit Permissions
Add Single User to each: Assignable User Assign Issues Close Issues Create Issues Delete Issues Edit Issues Link Issues Modify Reporter Move Issues Resolve Issues Schedule Issues Set Issue Security Transition Issues
Still no go.
When deleting the project it doesn't seem to clean up.
Is there a cleanup.py? That way it can be un-done then re-done?
To me the logs indicate it wasn't finished with creating the custom fields before it was interrupted. My terminal window may have terminated in the middle of the setup and now the checks think everything is ok and breaking when it's trying to create an issue. Hence why most of the custom fields are there. It had permissions at the time.
After manually cleaning up I reran the debug to get the same error.
/ # tenable-jira /etc/tenable-jira/config.yaml --troubleshoot
jira:
address: <REDACTED>
api_token: <REDACTED>
api_username: <REDACTED>
log:
filename: /log/tenable.log
format: '%(asctime)-15s %(name)s %(levelname)s %(message)s'
level: 30
project:
leadAccountId: <REDACTED>
service:
interval: 24
tenable:
access_key: <REDACTED>
address: <REDACTED>
platform: tenable.sc
query_id: 568
secret_key: <REDACTED>
tio_severities:
- critical
- high
- medium
- low
2020-11-24 20:33:18,448 root INFO Tenable2JiraCloud Version 1.1.17
2020-11-24 20:33:18,448 root INFO Using configuration file /etc/tenable-jira/config.yaml
2020-11-24 20:33:18,452 root INFO Running on Python 3.7.3 Linux/x86_64
2020-11-24 20:33:18,454 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/system", "params": {}, "body": {}}
2020-11-24 20:33:18,457 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <TENABLE_SC_HOST>:443
2020-11-24 20:33:18,655 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/system HTTP/1.1" 200 None
2020-11-24 20:33:18,658 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/project/VULN", "params": {}, "body": {}}
2020-11-24 20:33:18,660 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <JIRA_CLOUD_HOST>:443
2020-11-24 20:33:19,154 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/project/VULN HTTP/1.1" 404 None
2020-11-24 20:33:19,158 restfly.errors.NotFoundError ERROR [404: GET] https://<JIRA_CLOUD_HOST>/rest/api/3/project/VULN body=b'{"errorMessages":["No project could be found with key \'VULN\'."],"errors":{}}'
2020-11-24 20:33:19,158 tenable_jira.jira.Jira INFO Creating Project VULN
2020-11-24 20:33:19,158 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/project", "params": {}, "body": {"key": "VULN", "name": "Vulnerability Management", "projectTypeKey": "business", "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking", "description": "Managing vulnerabilities discovered from Tenable products.", "url": "https://tenable.com", "assigneeType": "UNASSIGNED", "leadAccountId": "5ac3d8c80fcea7426c43bd1e"}}
2020-11-24 20:33:19,963 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/project HTTP/1.1" 201 None
2020-11-24 20:33:19,964 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {}}
2020-11-24 20:33:20,195 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/field HTTP/1.1" 200 None
2020-11-24 20:33:20,200 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Platform", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:20,506 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:20,509 tenable_jira.jira.Jira INFO Tenable Platform is customfield_10058 (new)
2020-11-24 20:33:20,509 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "CVEs", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:20,822 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:20,826 tenable_jira.jira.Jira INFO CVEs is customfield_10059 (new)
2020-11-24 20:33:20,826 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "CVSSv2 Base Score", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:21,047 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:21,048 tenable_jira.jira.Jira INFO CVSSv2 Base Score is customfield_10060 (new)
2020-11-24 20:33:21,048 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "CVSSv2 Temporal Score", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:21,555 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:21,556 tenable_jira.jira.Jira INFO CVSSv2 Temporal Score is customfield_10061 (new)
2020-11-24 20:33:21,556 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "CVSSv3 Base Score", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:21,796 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:21,798 tenable_jira.jira.Jira INFO CVSSv3 Base Score is customfield_10062 (new)
2020-11-24 20:33:21,798 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "CVSSv3 Temporal Score", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:22,015 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:22,018 tenable_jira.jira.Jira INFO CVSSv3 Temporal Score is customfield_10063 (new)
2020-11-24 20:33:22,018 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Patch Publication Date", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:22,455 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:22,456 tenable_jira.jira.Jira INFO Patch Publication Date is customfield_10064 (new)
2020-11-24 20:33:22,457 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Plugin ID", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:22,681 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:22,684 tenable_jira.jira.Jira INFO Tenable Plugin ID is customfield_10065 (new)
2020-11-24 20:33:22,685 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Plugin Family", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:22,879 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:22,881 tenable_jira.jira.Jira INFO Tenable Plugin Family is customfield_10066 (new)
2020-11-24 20:33:22,881 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Plugin Name", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:23,112 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:23,114 tenable_jira.jira.Jira INFO Tenable Plugin Name is customfield_10067 (new)
2020-11-24 20:33:23,114 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Severity", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:23,334 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:23,335 tenable_jira.jira.Jira INFO Vulnerability Severity is customfield_10068 (new)
2020-11-24 20:33:23,335 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Asset UUID", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:23,528 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:23,532 tenable_jira.jira.Jira INFO Tenable Asset UUID is customfield_10069 (new)
2020-11-24 20:33:23,532 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable Asset Tags", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:23,742 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:23,746 tenable_jira.jira.Jira INFO Tenable Asset Tags is customfield_10070 (new)
2020-11-24 20:33:23,746 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device MAC Addresses", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:23,978 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:23,980 tenable_jira.jira.Jira INFO Device MAC Addresses is customfield_10071 (new)
2020-11-24 20:33:23,981 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device IPv4 Addresses", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:24,199 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:24,200 tenable_jira.jira.Jira INFO Device IPv4 Addresses is customfield_10072 (new)
2020-11-24 20:33:24,200 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device IPv6 Addresses", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:24,421 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:24,423 tenable_jira.jira.Jira INFO Device IPv6 Addresses is customfield_10073 (new)
2020-11-24 20:33:24,423 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device Hostname", "type": "com.atlassian.jira.plugin.system.customfieldtypes:labels", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", "description": ""}}
2020-11-24 20:33:24,660 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:24,664 tenable_jira.jira.Jira INFO Device Hostname is customfield_10074 (new)
2020-11-24 20:33:24,664 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device NetBIOS Name", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:24,897 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:24,898 tenable_jira.jira.Jira INFO Device NetBIOS Name is customfield_10075 (new)
2020-11-24 20:33:24,898 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device DNS Name", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:25,124 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:25,127 tenable_jira.jira.Jira INFO Device DNS Name is customfield_10076 (new)
2020-11-24 20:33:25,128 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Device Network ID", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:25,354 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:25,357 tenable_jira.jira.Jira INFO Device Network ID is customfield_10077 (new)
2020-11-24 20:33:25,358 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability First Seen", "type": "com.atlassian.jira.plugin.system.customfieldtypes:datetime", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:datetimerange", "description": ""}}
2020-11-24 20:33:25,593 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:25,595 tenable_jira.jira.Jira INFO Vulnerability First Seen is customfield_10078 (new)
2020-11-24 20:33:25,596 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Last Seen", "type": "com.atlassian.jira.plugin.system.customfieldtypes:datetime", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:datetimerange", "description": ""}}
2020-11-24 20:33:25,827 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:25,829 tenable_jira.jira.Jira INFO Vulnerability Last Seen is customfield_10079 (new)
2020-11-24 20:33:25,829 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Last Fixed", "type": "com.atlassian.jira.plugin.system.customfieldtypes:datetime", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:datetimerange", "description": ""}}
2020-11-24 20:33:26,082 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:26,085 tenable_jira.jira.Jira INFO Vulnerability Last Fixed is customfield_10080 (new)
2020-11-24 20:33:26,085 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability State", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:26,295 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:26,297 tenable_jira.jira.Jira INFO Vulnerability State is customfield_10081 (new)
2020-11-24 20:33:26,297 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Port", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:26,529 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:26,535 tenable_jira.jira.Jira INFO Vulnerability Port is customfield_10082 (new)
2020-11-24 20:33:26,535 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Protocol", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:26,767 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:26,769 tenable_jira.jira.Jira INFO Vulnerability Protocol is customfield_10083 (new)
2020-11-24 20:33:26,769 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Repository ID", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:26,996 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:26,999 tenable_jira.jira.Jira INFO Vulnerability Repository ID is customfield_10084 (new)
2020-11-24 20:33:26,999 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Vulnerability Repository Name", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:27,217 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:27,219 tenable_jira.jira.Jira INFO Vulnerability Repository Name is customfield_10085 (new)
2020-11-24 20:33:27,219 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {"name": "Tenable VPR Score", "type": "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", "description": ""}}
2020-11-24 20:33:27,449 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/field HTTP/1.1" 201 None
2020-11-24 20:33:27,462 tenable_jira.jira.Jira INFO Tenable VPR Score is customfield_10086 (new)
2020-11-24 20:33:27,463 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issuetype", "params": {}, "body": {}}
2020-11-24 20:33:27,621 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/issuetype HTTP/1.1" 200 None
2020-11-24 20:33:27,623 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens", "params": {"startAt": -100, "maxResults": 100}, "body": {}}
2020-11-24 20:33:27,776 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens?startAt=-100&maxResults=100 HTTP/1.1" 200 None
2020-11-24 20:33:27,779 tenable_jira.transform.Tio2Jira INFO Using JIRA Screens [10011, 10012]
2020-11-24 20:33:27,779 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs", "params": {}, "body": {}}
2020-11-24 20:33:27,925 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs HTTP/1.1" 200 None
2020-11-24 20:33:27,931 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {}}
2020-11-24 20:33:28,076 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,079 tenable_jira.transform.Tio2Jira INFO Adding CVEs to Screen 10011:10016
2020-11-24 20:33:28,080 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10059"}}
2020-11-24 20:33:28,236 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,239 tenable_jira.transform.Tio2Jira INFO Adding Tenable VPR Score to Screen 10011:10016
2020-11-24 20:33:28,239 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10086"}}
2020-11-24 20:33:28,397 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,399 tenable_jira.transform.Tio2Jira INFO Adding CVSSv2 Base Score to Screen 10011:10016
2020-11-24 20:33:28,400 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10060"}}
2020-11-24 20:33:28,556 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,559 tenable_jira.transform.Tio2Jira INFO Adding CVSSv2 Temporal Score to Screen 10011:10016
2020-11-24 20:33:28,560 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10061"}}
2020-11-24 20:33:28,718 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,721 tenable_jira.transform.Tio2Jira INFO Adding CVSSv3 Base Score to Screen 10011:10016
2020-11-24 20:33:28,721 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10062"}}
2020-11-24 20:33:28,871 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:28,874 tenable_jira.transform.Tio2Jira INFO Adding CVSSv3 Temporal Score to Screen 10011:10016
2020-11-24 20:33:28,874 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10063"}}
2020-11-24 20:33:29,046 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:29,048 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin ID to Screen 10011:10016
2020-11-24 20:33:29,048 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10065"}}
2020-11-24 20:33:29,201 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:29,203 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin Family to Screen 10011:10016
2020-11-24 20:33:29,204 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10066"}}
2020-11-24 20:33:29,362 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:29,363 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin Name to Screen 10011:10016
2020-11-24 20:33:29,363 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10067"}}
2020-11-24 20:33:29,521 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:29,524 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Severity to Screen 10011:10016
2020-11-24 20:33:29,524 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10068"}}
2020-11-24 20:33:29,682 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:29,685 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability First Seen to Screen 10011:10016
2020-11-24 20:33:29,685 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10078"}}
2020-11-24 20:33:30,048 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,051 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Last Seen to Screen 10011:10016
2020-11-24 20:33:30,051 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10079"}}
2020-11-24 20:33:30,295 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,302 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Last Fixed to Screen 10011:10016
2020-11-24 20:33:30,302 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10080"}}
2020-11-24 20:33:30,471 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,475 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability State to Screen 10011:10016
2020-11-24 20:33:30,476 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10081"}}
2020-11-24 20:33:30,655 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,658 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Port to Screen 10011:10016
2020-11-24 20:33:30,658 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10082"}}
2020-11-24 20:33:30,811 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,813 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Protocol to Screen 10011:10016
2020-11-24 20:33:30,814 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10083"}}
2020-11-24 20:33:30,970 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:30,974 tenable_jira.transform.Tio2Jira INFO Adding Patch Publication Date to Screen 10011:10016
2020-11-24 20:33:30,975 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {"fieldId": "customfield_10064"}}
2020-11-24 20:33:31,139 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,141 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {}}
2020-11-24 20:33:31,281 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,284 tenable_jira.transform.Tio2Jira INFO Adding Tenable Asset UUID to Screen 10011:10017
2020-11-24 20:33:31,284 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10069"}}
2020-11-24 20:33:31,439 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,444 tenable_jira.transform.Tio2Jira INFO Adding Tenable Asset Tags to Screen 10011:10017
2020-11-24 20:33:31,444 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10070"}}
2020-11-24 20:33:31,598 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,601 tenable_jira.transform.Tio2Jira INFO Adding Tenable Platform to Screen 10011:10017
2020-11-24 20:33:31,601 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10058"}}
2020-11-24 20:33:31,761 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,766 tenable_jira.transform.Tio2Jira INFO Adding Device Hostname to Screen 10011:10017
2020-11-24 20:33:31,766 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10074"}}
2020-11-24 20:33:31,929 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:31,933 tenable_jira.transform.Tio2Jira INFO Adding Device NetBIOS Name to Screen 10011:10017
2020-11-24 20:33:31,933 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10075"}}
2020-11-24 20:33:32,105 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,109 tenable_jira.transform.Tio2Jira INFO Adding Device DNS Name to Screen 10011:10017
2020-11-24 20:33:32,110 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10076"}}
2020-11-24 20:33:32,271 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,273 tenable_jira.transform.Tio2Jira INFO Adding Device IPv4 Addresses to Screen 10011:10017
2020-11-24 20:33:32,274 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10072"}}
2020-11-24 20:33:32,447 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,449 tenable_jira.transform.Tio2Jira INFO Adding Device IPv6 Addresses to Screen 10011:10017
2020-11-24 20:33:32,450 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10073"}}
2020-11-24 20:33:32,605 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,609 tenable_jira.transform.Tio2Jira INFO Adding Device MAC Addresses to Screen 10011:10017
2020-11-24 20:33:32,610 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10071"}}
2020-11-24 20:33:32,773 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,779 tenable_jira.transform.Tio2Jira INFO Adding Device Network ID to Screen 10011:10017
2020-11-24 20:33:32,779 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10077"}}
2020-11-24 20:33:32,946 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:32,953 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Repository ID to Screen 10011:10017
2020-11-24 20:33:32,953 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10084"}}
2020-11-24 20:33:33,107 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:33,109 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Repository Name to Screen 10011:10017
2020-11-24 20:33:33,110 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {"fieldId": "customfield_10085"}}
2020-11-24 20:33:33,260 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:33:33,264 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs", "params": {}, "body": {}}
2020-11-24 20:33:33,407 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs HTTP/1.1" 200 None
2020-11-24 20:33:33,408 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {}}
2020-11-24 20:33:33,553 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:33,556 tenable_jira.transform.Tio2Jira INFO Adding CVEs to Screen 10012:10018
2020-11-24 20:33:33,556 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10059"}}
2020-11-24 20:33:33,709 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:33,719 tenable_jira.transform.Tio2Jira INFO Adding Tenable VPR Score to Screen 10012:10018
2020-11-24 20:33:33,719 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10086"}}
2020-11-24 20:33:33,870 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:33,874 tenable_jira.transform.Tio2Jira INFO Adding CVSSv2 Base Score to Screen 10012:10018
2020-11-24 20:33:33,874 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10060"}}
2020-11-24 20:33:34,053 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,055 tenable_jira.transform.Tio2Jira INFO Adding CVSSv2 Temporal Score to Screen 10012:10018
2020-11-24 20:33:34,055 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10061"}}
2020-11-24 20:33:34,213 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,216 tenable_jira.transform.Tio2Jira INFO Adding CVSSv3 Base Score to Screen 10012:10018
2020-11-24 20:33:34,216 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10062"}}
2020-11-24 20:33:34,366 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,370 tenable_jira.transform.Tio2Jira INFO Adding CVSSv3 Temporal Score to Screen 10012:10018
2020-11-24 20:33:34,370 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10063"}}
2020-11-24 20:33:34,522 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,526 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin ID to Screen 10012:10018
2020-11-24 20:33:34,526 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10065"}}
2020-11-24 20:33:34,675 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,677 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin Family to Screen 10012:10018
2020-11-24 20:33:34,678 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10066"}}
2020-11-24 20:33:34,839 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:34,841 tenable_jira.transform.Tio2Jira INFO Adding Tenable Plugin Name to Screen 10012:10018
2020-11-24 20:33:34,841 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10067"}}
2020-11-24 20:33:35,002 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,005 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Severity to Screen 10012:10018
2020-11-24 20:33:35,005 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10068"}}
2020-11-24 20:33:35,164 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,168 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability First Seen to Screen 10012:10018
2020-11-24 20:33:35,168 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10078"}}
2020-11-24 20:33:35,329 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,330 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Last Seen to Screen 10012:10018
2020-11-24 20:33:35,331 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10079"}}
2020-11-24 20:33:35,476 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,478 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Last Fixed to Screen 10012:10018
2020-11-24 20:33:35,478 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10080"}}
2020-11-24 20:33:35,646 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,649 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability State to Screen 10012:10018
2020-11-24 20:33:35,649 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10081"}}
2020-11-24 20:33:35,821 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,825 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Port to Screen 10012:10018
2020-11-24 20:33:35,826 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10082"}}
2020-11-24 20:33:35,981 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:35,985 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Protocol to Screen 10012:10018
2020-11-24 20:33:35,985 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10083"}}
2020-11-24 20:33:36,159 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:36,163 tenable_jira.transform.Tio2Jira INFO Adding Patch Publication Date to Screen 10012:10018
2020-11-24 20:33:36,163 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {"fieldId": "customfield_10064"}}
2020-11-24 20:33:36,331 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:33:36,335 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {}}
2020-11-24 20:33:36,482 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:36,486 tenable_jira.transform.Tio2Jira INFO Adding Tenable Asset UUID to Screen 10012:10019
2020-11-24 20:33:36,486 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10069"}}
2020-11-24 20:33:36,647 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:36,650 tenable_jira.transform.Tio2Jira INFO Adding Tenable Asset Tags to Screen 10012:10019
2020-11-24 20:33:36,650 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10070"}}
2020-11-24 20:33:36,814 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:36,827 tenable_jira.transform.Tio2Jira INFO Adding Tenable Platform to Screen 10012:10019
2020-11-24 20:33:36,827 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10058"}}
2020-11-24 20:33:36,998 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:37,001 tenable_jira.transform.Tio2Jira INFO Adding Device Hostname to Screen 10012:10019
2020-11-24 20:33:37,001 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10074"}}
2020-11-24 20:33:37,158 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:37,159 tenable_jira.transform.Tio2Jira INFO Adding Device NetBIOS Name to Screen 10012:10019
2020-11-24 20:33:37,159 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10075"}}
2020-11-24 20:33:37,524 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:37,528 tenable_jira.transform.Tio2Jira INFO Adding Device DNS Name to Screen 10012:10019
2020-11-24 20:33:37,528 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10076"}}
2020-11-24 20:33:37,690 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:37,693 tenable_jira.transform.Tio2Jira INFO Adding Device IPv4 Addresses to Screen 10012:10019
2020-11-24 20:33:37,693 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10072"}}
2020-11-24 20:33:37,853 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:37,855 tenable_jira.transform.Tio2Jira INFO Adding Device IPv6 Addresses to Screen 10012:10019
2020-11-24 20:33:37,856 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10073"}}
2020-11-24 20:33:38,011 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:38,014 tenable_jira.transform.Tio2Jira INFO Adding Device MAC Addresses to Screen 10012:10019
2020-11-24 20:33:38,014 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10071"}}
2020-11-24 20:33:38,168 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:38,171 tenable_jira.transform.Tio2Jira INFO Adding Device Network ID to Screen 10012:10019
2020-11-24 20:33:38,171 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10077"}}
2020-11-24 20:33:38,324 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:38,327 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Repository ID to Screen 10012:10019
2020-11-24 20:33:38,327 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10084"}}
2020-11-24 20:33:38,493 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:38,501 tenable_jira.transform.Tio2Jira INFO Adding Vulnerability Repository Name to Screen 10012:10019
2020-11-24 20:33:38,501 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {"fieldId": "customfield_10085"}}
2020-11-24 20:33:38,669 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:33:38,671 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/query/568?fields=filters", "params": {}, "body": {}}
2020-11-24 20:33:38,673 urllib3.connectionpool DEBUG Resetting dropped connection: <TENABLE_SC_HOST>
2020-11-24 20:33:38,853 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/query/568?fields=filters HTTP/1.1" 200 123
2020-11-24 20:33:38,854 tenable.sc.TenableSC DEBUG {"method": "POST", "url": "https://<TENABLE_SC_HOST>:443/rest/analysis", "params": {}, "body": {"type": "vuln", "sourceType": "cumulative", "query": {"tool": "vulndetails", "type": "vuln", "filters": [{"filterName": "lastSeen", "operator": "=", "value": "0-1606250018"}], "startOffset": 0, "endOffset": 1000}}}
2020-11-24 20:33:44,777 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "POST /rest/analysis HTTP/1.1" 200 None
2020-11-24 20:33:44,817 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/search", "params": {}, "body": {"jql": "project = \"VULN\" and issuetype = \"Task\" and status not in (Closed, Done, Resolved) and \"Tenable Plugin ID\" ~ \"10150\""}}
2020-11-24 20:33:45,063 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/search HTTP/1.1" 200 None
2020-11-24 20:33:45,067 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issue", "params": {"update_history": false}, "body": {"fields": {"project": {"key": "VULN"}, "issuetype": {"id": "10002"}, "customfield_10064": "-1", "customfield_10065": "10150", "customfield_10066": "Windows", "customfield_10067": "Windows NetBIOS / SMB Remote Host Information Disclosure", "customfield_10068": "Info", "summary": "[10150] Windows NetBIOS / SMB Remote Host Information Disclosure", "description": {"version": 1, "type": "doc", "content": [{"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Description"}]}, {"type": "paragraph", "content": [{"type": "text", "text": "The remote host is listening on UDP port 137 or TCP port 445, and replies to NetBIOS nbtscan or SMB requests.\n\nNote that this plugin gathers information to be used in other plugins, but does not itself generate a report."}]}, {"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Solution"}]}, {"type": "paragraph", "content": [{"type": "text", "text": ""}]}]}}}}
2020-11-24 20:33:45,315 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/issue?update_history=False HTTP/1.1" 400 None
2020-11-24 20:33:45,316 restfly.errors.BadRequestError ERROR [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10064":"Field \'customfield_10064\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10065":"Field \'customfield_10065\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10066":"Field \'customfield_10066\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10067":"Field \'customfield_10067\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10068":"Field \'customfield_10068\' cannot be set. It is not on the appropriate screen, or unknown."}}'
2020-11-24 20:33:45,316 root ERROR Caught the following Exception
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 363, in _process_open_vuln
i = self._jira.issues.upsert(fields=issue, jql=' and '.join(jql))
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 48, in upsert
issue = self.create(**kwargs)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 20, in create
json=kwargs
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 563, in post
return self._request('POST', path, **kwargs)
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 477, in _request
raise err(resp, retries=retries, func=self._error_func)
restfly.errors.BadRequestError: [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10064":"Field \'customfield_10064\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10065":"Field \'customfield_10065\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10066":"Field \'customfield_10066\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10067":"Field \'customfield_10067\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10068":"Field \'customfield_10068\' cannot be set. It is not on the appropriate screen, or unknown."}}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/cli.py", line 151, in cli
ingest.ingest(observed_since)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 674, in ingest
self.create_issues(vulns)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 477, in create_issues
self._process_open_vuln(v, fid)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 366, in _process_open_vuln
sys.exit(2)
SystemExit: 2
10002: Task
10003: Sub-task
/-------------------------------NOTICE-----------------------------------\ | The output above is helpful for us to troubleshoot exactly what is | happening within the code and offer a diagnosis for how to correct. | Please note that while some basic redaction has already been performed | that we ask you to review the information you're about to send and | ensure that nothing deemed sensitive is transmitted. | ||||
---|---|---|---|---|---|---|---|---|---|
-- Copy of output saved to "issue_debug.md" |
------------------------------------------------------------------------/
Setup-Only
/ # tenable-jira /etc/tenable-jira/config.yaml --setup-only --troubleshoot
jira:
address: <REDACTED>
api_token: <REDACTED>
api_username: <REDACTED>
log:
filename: /log/tenable.log
format: '%(asctime)-15s %(name)s %(levelname)s %(message)s'
level: 30
project:
leadAccountId: <REDACTED>
service:
interval: 24
tenable:
access_key: <REDACTED>
address: <REDACTED>
platform: tenable.sc
query_id: 568
secret_key: <REDACTED>
tio_severities:
- critical
- high
- medium
- low
2020-11-24 20:42:03,334 root INFO Tenable2JiraCloud Version 1.1.17
2020-11-24 20:42:03,334 root INFO Using configuration file /etc/tenable-jira/config.yaml
2020-11-24 20:42:03,337 root INFO Running on Python 3.7.3 Linux/x86_64
2020-11-24 20:42:03,338 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/system", "params": {}, "body": {}}
2020-11-24 20:42:03,342 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <TENABLE_SC_HOST>:443
2020-11-24 20:42:03,535 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/system HTTP/1.1" 200 None
2020-11-24 20:42:03,539 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/project/VULN", "params": {}, "body": {}}
2020-11-24 20:42:03,540 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <JIRA_CLOUD_HOST>:443
2020-11-24 20:42:03,939 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/project/VULN HTTP/1.1" 200 None
2020-11-24 20:42:03,943 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {}}
2020-11-24 20:42:04,150 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/field HTTP/1.1" 200 None
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO Tenable Platform is customfield_10058 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO CVEs is customfield_10059 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO CVSSv2 Base Score is customfield_10060 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO CVSSv2 Temporal Score is customfield_10061 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO CVSSv3 Base Score is customfield_10062 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO CVSSv3 Temporal Score is customfield_10063 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO Patch Publication Date is customfield_10064 (existing)
2020-11-24 20:42:04,152 tenable_jira.jira.Jira INFO Tenable Plugin ID is customfield_10065 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Tenable Plugin Family is customfield_10066 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Tenable Plugin Name is customfield_10067 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Vulnerability Severity is customfield_10068 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Tenable Asset UUID is customfield_10069 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Tenable Asset Tags is customfield_10070 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device MAC Addresses is customfield_10071 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device IPv4 Addresses is customfield_10072 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device IPv6 Addresses is customfield_10073 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device Hostname is customfield_10074 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device NetBIOS Name is customfield_10075 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device DNS Name is customfield_10076 (existing)
2020-11-24 20:42:04,153 tenable_jira.jira.Jira INFO Device Network ID is customfield_10077 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability First Seen is customfield_10078 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Last Seen is customfield_10079 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Last Fixed is customfield_10080 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability State is customfield_10081 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Port is customfield_10082 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Protocol is customfield_10083 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Repository ID is customfield_10084 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Vulnerability Repository Name is customfield_10085 (existing)
2020-11-24 20:42:04,154 tenable_jira.jira.Jira INFO Tenable VPR Score is customfield_10086 (existing)
2020-11-24 20:42:04,155 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issuetype", "params": {}, "body": {}}
2020-11-24 20:42:04,300 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/issuetype HTTP/1.1" 200 None
2020-11-24 20:42:04,302 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens", "params": {"startAt": -100, "maxResults": 100}, "body": {}}
2020-11-24 20:42:04,448 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens?startAt=-100&maxResults=100 HTTP/1.1" 200 None
2020-11-24 20:42:04,450 tenable_jira.transform.Tio2Jira INFO Using JIRA Screens [10011, 10012]
2020-11-24 20:42:04,450 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs", "params": {}, "body": {}}
2020-11-24 20:42:04,592 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs HTTP/1.1" 200 None
2020-11-24 20:42:04,602 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {}}
2020-11-24 20:42:04,748 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-24 20:42:04,751 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10011:10016
2020-11-24 20:42:04,751 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10011:10016
2020-11-24 20:42:04,751 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10011:10016
2020-11-24 20:42:04,752 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10011:10016
2020-11-24 20:42:04,753 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10011:10016
2020-11-24 20:42:04,753 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10011:10016
2020-11-24 20:42:04,753 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10011:10016
2020-11-24 20:42:04,753 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10011:10016
2020-11-24 20:42:04,753 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {}}
2020-11-24 20:42:04,896 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-24 20:42:04,899 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10011:10017
2020-11-24 20:42:04,899 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10011:10017
2020-11-24 20:42:04,899 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10011:10017
2020-11-24 20:42:04,899 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10011:10017
2020-11-24 20:42:04,900 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10011:10017
2020-11-24 20:42:04,900 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10011:10017
2020-11-24 20:42:04,900 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10011:10017
2020-11-24 20:42:04,900 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10011:10017
2020-11-24 20:42:04,901 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10011:10017
2020-11-24 20:42:04,901 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10011:10017
2020-11-24 20:42:04,901 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10011:10017
2020-11-24 20:42:04,901 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10011:10017
2020-11-24 20:42:04,901 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs", "params": {}, "body": {}}
2020-11-24 20:42:05,052 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs HTTP/1.1" 200 None
2020-11-24 20:42:05,054 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {}}
2020-11-24 20:42:05,215 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-24 20:42:05,217 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10012:10018
2020-11-24 20:42:05,217 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10012:10018
2020-11-24 20:42:05,217 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10012:10018
2020-11-24 20:42:05,218 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10012:10018
2020-11-24 20:42:05,219 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10012:10018
2020-11-24 20:42:05,219 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10012:10018
2020-11-24 20:42:05,219 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10012:10018
2020-11-24 20:42:05,219 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {}}
2020-11-24 20:42:05,357 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10012:10019
2020-11-24 20:42:05,360 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10012:10019
2020-11-24 20:42:05,361 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10012:10019
2020-11-24 20:42:05,361 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10012:10019
2020-11-24 20:42:05,361 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10012:10019
2020-11-24 20:42:05,361 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10012:10019
2020-11-24 20:42:05,361 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/query/568?fields=filters", "params": {}, "body": {}}
2020-11-24 20:42:05,471 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/query/568?fields=filters HTTP/1.1" 200 123
2020-11-24 20:42:05,472 tenable.sc.TenableSC DEBUG {"method": "POST", "url": "https://<TENABLE_SC_HOST>:443/rest/analysis", "params": {}, "body": {"type": "vuln", "sourceType": "cumulative", "query": {"tool": "vulndetails", "type": "vuln", "filters": [{"filterName": "lastSeen", "operator": "=", "value": "0-1606250525"}], "startOffset": 0, "endOffset": 1000}}}
2020-11-24 20:42:11,413 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "POST /rest/analysis HTTP/1.1" 200 None
2020-11-24 20:42:11,453 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/search", "params": {}, "body": {"jql": "project = \"VULN\" and issuetype = \"Task\" and status not in (Closed, Done, Resolved) and \"Tenable Plugin ID\" ~ \"10150\""}}
2020-11-24 20:42:11,690 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/search HTTP/1.1" 200 None
2020-11-24 20:42:11,693 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issue", "params": {"update_history": false}, "body": {"fields": {"project": {"key": "VULN"}, "issuetype": {"id": "10002"}, "customfield_10064": "-1", "customfield_10065": "10150", "customfield_10066": "Windows", "customfield_10067": "Windows NetBIOS / SMB Remote Host Information Disclosure", "customfield_10068": "Info", "summary": "[10150] Windows NetBIOS / SMB Remote Host Information Disclosure", "description": {"version": 1, "type": "doc", "content": [{"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Description"}]}, {"type": "paragraph", "content": [{"type": "text", "text": "The remote host is listening on UDP port 137 or TCP port 445, and replies to NetBIOS nbtscan or SMB requests.\n\nNote that this plugin gathers information to be used in other plugins, but does not itself generate a report."}]}, {"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Solution"}]}, {"type": "paragraph", "content": [{"type": "text", "text": ""}]}]}}}}
2020-11-24 20:42:11,909 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/issue?update_history=False HTTP/1.1" 400 None
2020-11-24 20:42:11,911 restfly.errors.BadRequestError ERROR [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10064":"Field \'customfield_10064\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10065":"Field \'customfield_10065\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10066":"Field \'customfield_10066\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10067":"Field \'customfield_10067\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10068":"Field \'customfield_10068\' cannot be set. It is not on the appropriate screen, or unknown."}}'
2020-11-24 20:42:11,911 root ERROR Caught the following Exception
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 363, in _process_open_vuln
i = self._jira.issues.upsert(fields=issue, jql=' and '.join(jql))
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 48, in upsert
issue = self.create(**kwargs)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 20, in create
json=kwargs
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 563, in post
return self._request('POST', path, **kwargs)
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 477, in _request
raise err(resp, retries=retries, func=self._error_func)
restfly.errors.BadRequestError: [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":[],"errors":{"customfield_10064":"Field \'customfield_10064\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10065":"Field \'customfield_10065\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10066":"Field \'customfield_10066\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10067":"Field \'customfield_10067\' cannot be set. It is not on the appropriate screen, or unknown.","customfield_10068":"Field \'customfield_10068\' cannot be set. It is not on the appropriate screen, or unknown."}}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/cli.py", line 151, in cli
ingest.ingest(observed_since)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 674, in ingest
self.create_issues(vulns)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 477, in create_issues
self._process_open_vuln(v, fid)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 366, in _process_open_vuln
sys.exit(2)
SystemExit: 2
10002: Task
10003: Sub-task
/-------------------------------NOTICE-----------------------------------\ | The output above is helpful for us to troubleshoot exactly what is | happening within the code and offer a diagnosis for how to correct. | Please note that while some basic redaction has already been performed | that we ask you to review the information you're about to send and | ensure that nothing deemed sensitive is transmitted. | ||||
---|---|---|---|---|---|---|---|---|---|
-- Copy of output saved to "issue_debug.md" |
------------------------------------------------------------------------/
Also found this an validated everything here. https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion
Permissions Operation permissions Most operations in this API require permissions. The calling user must have the required permissions for an operation to use it. Note that for Connect apps, the app user must have the required permissions for the operation and the app must have scopes that permit the operation.
A permission can be granted to a group, project role, or issue role that the user is a member of, or granted directly to a user. See Permissions overview for details. The most common permissions are:
Administer the Cloud site: Users in the site-admins group have this permission. See Manage groups for details. Administer Jira: Granted by the Jira Administrators global permission. Users in the administrators group have this permission. See Manage groups and Managing global permissions for details. Administer a project in Jira: Granted by the Administer projects project permission for a project. This can be granted to a user, a group, a project role, and more. See Managing project permissions for details. Access a project in Jira: Granted by the Browse projects project permission for a project. This can be granted to a user, a group, a project role, and more. See Managing project permissions for details. Access Jira: Granted by the Jira Users global permission. Users in the [product]-users (for example, jira-software-users) group have this permission. See Manage groups and Managing global permissions for details.
After talking to Atlassian. This isn't a permissions issue because there is nothing to indicate that in the logs. This is a missing custom fields issue.
Provided by Atlassian Looking at the log that you've provided, it seems that you do not have those custom fields on the screens of the project VULN. We believe that adding the custom fields to those screens should fix your problem.
Basically, you'll need to access the screens associated with the Task issue type:
VULN: Task Management Create Issue Screen (7) VULN: Task Management Edit/View Issue Screen (7) Then, you should add these fields to those screens: Patch Publication Date, Tenable Plugin ID, Tenable Plugin Family, Tenable Plugin Name and Vulnerability Severity.
After that, try to use the integration again, and just let me know if you face any problem.
and I had talked to atlassian in the past with another customer on the line, and their API doesn't do a good job of informing WHY the failure occurred. It blindly assumes that the field isn't there as the script doesnt have the permissions to know that the field is there.
The screens identified from the logs are 10011 and 10012. If those screens are NOT part of that project, then you should manually identify the screens as mentioned in https://github.com/tenable/integration-jira-cloud/issues/23#issuecomment-604631753 and try again. If they ARE the right screens, then the permissions need to be added. This is documented at https://github.com/tenable/integration-jira-cloud/issues/28 and if you note, they were experiencing the same issues until they added the permissions mentioned.
Manually added what was asked to the screens.
/etc/tenable-jira # tenable-jira config.yaml --troubleshoot
jira:
address: <REDACTED>
api_token: <REDACTED>
api_username: <REDACTED>
log:
filename: /log/tenable.log
format: '%(asctime)-15s %(name)s %(levelname)s %(message)s'
level: 30
project:
leadAccountId: <REDACTED>
service:
interval: 24
tenable:
access_key: <REDACTED>
address: <REDACTED>
platform: tenable.sc
query_id: 568
secret_key: <REDACTED>
tio_severities:
- critical
- high
- medium
- low
2020-11-30 21:01:26,020 root INFO Tenable2JiraCloud Version 1.1.17
2020-11-30 21:01:26,020 root INFO Using configuration file config.yaml
2020-11-30 21:01:26,023 root INFO Running on Python 3.7.3 Linux/x86_64
2020-11-30 21:01:26,025 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/system", "params": {}, "body": {}}
2020-11-30 21:01:26,028 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <TENABLE_SC_HOST>:443
2020-11-30 21:01:26,221 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/system HTTP/1.1" 200 None
2020-11-30 21:01:26,229 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/project/VULN", "params": {}, "body": {}}
2020-11-30 21:01:26,231 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): <JIRA_CLOUD_HOST>:443
2020-11-30 21:01:26,758 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/project/VULN HTTP/1.1" 200 None
2020-11-30 21:01:26,762 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/field", "params": {}, "body": {}}
2020-11-30 21:01:27,019 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/field HTTP/1.1" 200 None
2020-11-30 21:01:27,020 tenable_jira.jira.Jira INFO Tenable Platform is customfield_10058 (existing)
2020-11-30 21:01:27,020 tenable_jira.jira.Jira INFO CVEs is customfield_10059 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO CVSSv2 Base Score is customfield_10060 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO CVSSv2 Temporal Score is customfield_10061 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO CVSSv3 Base Score is customfield_10062 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO CVSSv3 Temporal Score is customfield_10063 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Patch Publication Date is customfield_10064 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Tenable Plugin ID is customfield_10065 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Tenable Plugin Family is customfield_10066 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Tenable Plugin Name is customfield_10067 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability Severity is customfield_10068 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Tenable Asset UUID is customfield_10069 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Tenable Asset Tags is customfield_10070 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device MAC Addresses is customfield_10071 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device IPv4 Addresses is customfield_10072 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device IPv6 Addresses is customfield_10073 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device Hostname is customfield_10074 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device NetBIOS Name is customfield_10075 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device DNS Name is customfield_10076 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Device Network ID is customfield_10077 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability First Seen is customfield_10078 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability Last Seen is customfield_10079 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability Last Fixed is customfield_10080 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability State is customfield_10081 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability Port is customfield_10082 (existing)
2020-11-30 21:01:27,021 tenable_jira.jira.Jira INFO Vulnerability Protocol is customfield_10083 (existing)
2020-11-30 21:01:27,022 tenable_jira.jira.Jira INFO Vulnerability Repository ID is customfield_10084 (existing)
2020-11-30 21:01:27,022 tenable_jira.jira.Jira INFO Vulnerability Repository Name is customfield_10085 (existing)
2020-11-30 21:01:27,022 tenable_jira.jira.Jira INFO Tenable VPR Score is customfield_10086 (existing)
2020-11-30 21:01:27,022 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issuetype", "params": {}, "body": {}}
2020-11-30 21:01:27,168 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/issuetype HTTP/1.1" 200 None
2020-11-30 21:01:27,171 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens", "params": {"startAt": -100, "maxResults": 100}, "body": {}}
2020-11-30 21:01:27,323 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens?startAt=-100&maxResults=100 HTTP/1.1" 200 None
2020-11-30 21:01:27,325 tenable_jira.transform.Tio2Jira INFO Using JIRA Screens [10011, 10012]
2020-11-30 21:01:27,326 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs", "params": {}, "body": {}}
2020-11-30 21:01:27,479 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs HTTP/1.1" 200 None
2020-11-30 21:01:27,482 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10016/fields", "params": {}, "body": {}}
2020-11-30 21:01:27,637 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10016/fields HTTP/1.1" 200 None
2020-11-30 21:01:27,640 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10011:10016
2020-11-30 21:01:27,640 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10011:10016
2020-11-30 21:01:27,641 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10011:10016
2020-11-30 21:01:27,642 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10011/tabs/10017/fields", "params": {}, "body": {}}
2020-11-30 21:01:27,802 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10011/tabs/10017/fields HTTP/1.1" 200 None
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10011:10017
2020-11-30 21:01:27,805 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10011:10017
2020-11-30 21:01:27,806 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs", "params": {}, "body": {}}
2020-11-30 21:01:27,945 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs HTTP/1.1" 200 None
2020-11-30 21:01:27,947 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10018/fields", "params": {}, "body": {}}
2020-11-30 21:01:28,103 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10018/fields HTTP/1.1" 200 None
2020-11-30 21:01:28,105 tenable_jira.transform.Tio2Jira INFO CVEs already exists in 10012:10018
2020-11-30 21:01:28,106 tenable_jira.transform.Tio2Jira INFO Tenable VPR Score already exists in 10012:10018
2020-11-30 21:01:28,106 tenable_jira.transform.Tio2Jira INFO CVSSv2 Base Score already exists in 10012:10018
2020-11-30 21:01:28,106 tenable_jira.transform.Tio2Jira INFO CVSSv2 Temporal Score already exists in 10012:10018
2020-11-30 21:01:28,106 tenable_jira.transform.Tio2Jira INFO CVSSv3 Base Score already exists in 10012:10018
2020-11-30 21:01:28,106 tenable_jira.transform.Tio2Jira INFO CVSSv3 Temporal Score already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Tenable Plugin ID already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Family already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Tenable Plugin Name already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Vulnerability Severity already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Vulnerability First Seen already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Seen already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Vulnerability Last Fixed already exists in 10012:10018
2020-11-30 21:01:28,107 tenable_jira.transform.Tio2Jira INFO Vulnerability State already exists in 10012:10018
2020-11-30 21:01:28,108 tenable_jira.transform.Tio2Jira INFO Vulnerability Port already exists in 10012:10018
2020-11-30 21:01:28,108 tenable_jira.transform.Tio2Jira INFO Vulnerability Protocol already exists in 10012:10018
2020-11-30 21:01:28,108 tenable_jira.transform.Tio2Jira INFO Patch Publication Date already exists in 10012:10018
2020-11-30 21:01:28,108 tenable_jira.jira.Jira DEBUG Request:{"method": "GET", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/screens/10012/tabs/10019/fields", "params": {}, "body": {}}
2020-11-30 21:01:28,263 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "GET /rest/api/3/screens/10012/tabs/10019/fields HTTP/1.1" 200 None
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Tenable Asset UUID already exists in 10012:10019
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Tenable Asset Tags already exists in 10012:10019
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Tenable Platform already exists in 10012:10019
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Device Hostname already exists in 10012:10019
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Device NetBIOS Name already exists in 10012:10019
2020-11-30 21:01:28,266 tenable_jira.transform.Tio2Jira INFO Device DNS Name already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Device IPv4 Addresses already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Device IPv6 Addresses already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Device MAC Addresses already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Device Network ID already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository ID already exists in 10012:10019
2020-11-30 21:01:28,267 tenable_jira.transform.Tio2Jira INFO Vulnerability Repository Name already exists in 10012:10019
2020-11-30 21:01:28,268 tenable.sc.TenableSC DEBUG {"method": "GET", "url": "https://<TENABLE_SC_HOST>:443/rest/query/568?fields=filters", "params": {}, "body": {}}
2020-11-30 21:01:28,383 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "GET /rest/query/568?fields=filters HTTP/1.1" 200 123
2020-11-30 21:01:28,384 tenable.sc.TenableSC DEBUG {"method": "POST", "url": "https://<TENABLE_SC_HOST>:443/rest/analysis", "params": {}, "body": {"type": "vuln", "sourceType": "cumulative", "query": {"tool": "vulndetails", "type": "vuln", "filters": [{"filterName": "lastSeen", "operator": "=", "value": "0-1606770088"}], "startOffset": 0, "endOffset": 1000}}}
2020-11-30 21:01:34,237 urllib3.connectionpool DEBUG https://<TENABLE_SC_HOST>:443 "POST /rest/analysis HTTP/1.1" 200 None
2020-11-30 21:01:34,276 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/search", "params": {}, "body": {"jql": "project = \"VULN\" and issuetype = \"Task\" and status not in (Closed, Done, Resolved) and \"Tenable Plugin ID\" ~ \"10150\""}}
2020-11-30 21:01:34,530 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/search HTTP/1.1" 200 None
2020-11-30 21:01:34,532 tenable_jira.jira.Jira DEBUG Request:{"method": "POST", "url": "https://<JIRA_CLOUD_HOST>/rest/api/3/issue", "params": {"update_history": false}, "body": {"fields": {"project": {"key": "VULN"}, "issuetype": {"id": "10002"}, "customfield_10064": "-1", "customfield_10065": "10150", "customfield_10066": "Windows", "customfield_10067": "Windows NetBIOS / SMB Remote Host Information Disclosure", "customfield_10068": "Info", "summary": "[10150] Windows NetBIOS / SMB Remote Host Information Disclosure", "description": {"version": 1, "type": "doc", "content": [{"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Description"}]}, {"type": "paragraph", "content": [{"type": "text", "text": "The remote host is listening on UDP port 137 or TCP port 445, and replies to NetBIOS nbtscan or SMB requests.\n\nNote that this plugin gathers information to be used in other plugins, but does not itself generate a report."}]}, {"type": "heading", "attrs": {"level": 1}, "content": [{"type": "text", "text": "Solution"}]}, {"type": "paragraph", "content": [{"type": "text", "text": ""}]}]}}}}
2020-11-30 21:01:34,800 urllib3.connectionpool DEBUG https://<JIRA_CLOUD_HOST>:443 "POST /rest/api/3/issue?update_history=False HTTP/1.1" 400 None
2020-11-30 21:01:34,803 restfly.errors.BadRequestError ERROR [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":["We can\'t create this issue for you right now, it could be due to unsupported content you\'ve entered into one or more of the issue fields. If this situation persists, contact your administrator as they\'ll be able to access more specific information in the log file."],"errors":{}}'
2020-11-30 21:01:34,803 root ERROR Caught the following Exception
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 363, in _process_open_vuln
i = self._jira.issues.upsert(fields=issue, jql=' and '.join(jql))
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 48, in upsert
issue = self.create(**kwargs)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/jira/issues.py", line 20, in create
json=kwargs
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 563, in post
return self._request('POST', path, **kwargs)
File "/usr/local/lib/python3.7/site-packages/restfly/session.py", line 477, in _request
raise err(resp, retries=retries, func=self._error_func)
restfly.errors.BadRequestError: [400: POST] https://<JIRA_CLOUD_HOST>/rest/api/3/issue?update_history=False body=b'{"errorMessages":["We can\'t create this issue for you right now, it could be due to unsupported content you\'ve entered into one or more of the issue fields. If this situation persists, contact your administrator as they\'ll be able to access more specific information in the log file."],"errors":{}}'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tenable_jira/cli.py", line 151, in cli
ingest.ingest(observed_since)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 674, in ingest
self.create_issues(vulns)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 477, in create_issues
self._process_open_vuln(v, fid)
File "/usr/local/lib/python3.7/site-packages/tenable_jira/transform.py", line 366, in _process_open_vuln
sys.exit(2)
SystemExit: 2
10002: Task
10003: Sub-task
/-------------------------------NOTICE-----------------------------------\ | The output above is helpful for us to troubleshoot exactly what is | happening within the code and offer a diagnosis for how to correct. | Please note that while some basic redaction has already been performed | that we ask you to review the information you're about to send and | ensure that nothing deemed sensitive is transmitted. | ||||
---|---|---|---|---|---|---|---|---|---|
-- Copy of output saved to "issue_debug.md" |
------------------------------------------------------------------------/
Going to try to add the following to the config.
jira: ignore_errors: true
Added the following to screens:
VULN: Task Management Create Issue Screen (7) VULN: Task Management Edit/View Issue Screen (7)
CVEs CVSSv2 Base Score CVSSv2 Temporal Score CVSSv3 Base Score CVSSv3 Temporal Score Device DNS Name Device IPv4 Addresses Device IPv6 Addresses Device Hostname Device MAC Addresses Device NetBIOS Name Device Network ID Tenable Asset UUID Tenable Platform Tenable Plugin Family Tenable Plugin ID Tenable Plugin Name Tenable VPR Score Vulnerability First Seen Vulnerability Last Seen Vulnerability Last Fixed Vulnerability State Vulnerability Port Vulnerability Protocol Vulnerability Repository ID Vulnerability Repository Name Vulnerability Severity
2020-11-30 21:48:04,648 urllib3.connectionpool DEBUG https://
why are there 7 iterations of those screens?
Moved the VUL-1 ticket to done without closing the subtask. It re-created the task but not the host/subtasks.
I don't know why there are 7 iterations. I just ran the command with --troubleshoot. It's probably because that's all that was on the screen. The file has sensitive info so I pasted the screen output. I should just run the screen output to a file so I have the sanitized version.
Moved the VUL-1 ticket to done without closing the subtask. It re-created the task but not the host/subtasks.
When you closed the parent w/o closing the sub-task, you effectively orphaned the sub-tasks. If you would like to prevent this, then you may want to create some workflows within Jira to do so.
I don't know why there are 7 iterations. I just ran the command with --troubleshoot. It's probably because that's all that was on the screen. The file has sensitive info so I pasted the screen output. I should just run the screen output to a file so I have the sanitized version.
If there is a numerical value next to the screen, that would lead me to believe that this project Key has existed in the past and the remnants of it were not cleaned up. I would suggest that you clean up the old ones and also hard-code the new ones into the config as mentioned in https://github.com/tenable/integration-jira-cloud/issues/23#issuecomment-604631753 .
It appears to be working.
Platform: K8's
2020-11-18 18:51:44,796 restfly.errors.BadRequestError ERROR [400: POST] https://domain.atlassian.net/rest/api/3/issue?update_history=False body=b'{"errorMessages":["We can\'t create this issue for you right now, it could be due to unsupported content you\'ve entered into one or more of the issue fields. If this situation persists, contact your administrator as they\'ll be able to access more specific information in the log file."],"errors":{}}'
After checking the jira logs I found nothing under system -> auditlog