Skip to content

Commit

Permalink
Merge branch 'PAPP-32946' into update_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ishans-crest committed Jan 15, 2024
2 parents c9f0fdc + 26ad638 commit cdfdef5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Jira

Publisher: Splunk
Connector Version: 3.6.2
Connector Version: 3.7.0
Product Vendor: Atlassian
Product Name: Jira
Product Version Supported (regex): ".\*"
Minimum Product Version: 6.0.0
Minimum Product Version: 6.1.1

This app integrates with JIRA to perform several ticket management actions

Expand Down
4 changes: 2 additions & 2 deletions jira.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
],
"type": "ticketing",
"main_module": "jira_connector.py",
"app_version": "3.6.2",
"app_version": "3.7.0",
"utctime_updated": "2023-11-29T20:43:56.000000Z",
"package_name": "phantom_jira",
"product_vendor": "Atlassian",
"product_name": "Jira",
"product_version_regex": ".*",
"min_phantom_version": "6.0.0",
"min_phantom_version": "6.1.1",
"latest_tested_versions": [
"On prem v8.21.0",
"Cloud Copyright (c) 2002 - 2023 Atlassian Corporation Pty Ltd."
Expand Down
6 changes: 3 additions & 3 deletions jira_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ def _get_container_id(self, issue_key):
self.get_phantom_base_url(), issue_key, self.get_asset_id())

try:
r = requests.get(url, verify=self._verify_cert) # nosemgrep
r = requests.get(url, verify=False) # nosemgrep
resp_json = r.json()
except Exception as e:
self.debug_print("Unable to query JIRA ticket container: ", e)
Expand All @@ -1497,7 +1497,7 @@ def _get_artifact_id(self, sdi, container_id, full_artifact=False):
self.get_phantom_base_url(), sdi, container_id)

try:
r = requests.get(url, verify=self._verify_cert) # nosemgrep
r = requests.get(url, verify=False) # nosemgrep
resp_json = r.json()
except Exception as e:
self.debug_print("Unable to query JIRA artifact: ", e)
Expand Down Expand Up @@ -2080,7 +2080,7 @@ def _update_container(self, issue, container_id, last_time, action_result):
url = '{0}rest/container/{1}'.format(self.get_phantom_base_url(), container_id)

try:
r = requests.post(url, data=json.dumps(update_json), verify=self._verify_cert) # nosemgrep
r = requests.post(url, data=json.dumps(update_json), verify=False) # nosemgrep
resp_json = r.json()
except Exception as e:
error_text = self._get_error_message_from_exception(e)
Expand Down
1 change: 1 addition & 0 deletions release_notes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**Unreleased**
* Updated 'verify server certificate' logic while sending request to localhost [PAPP-32390]
* Updated requests, certifi dependencies in order to use platform packages [PAPP-31096, PAPP-30822]

0 comments on commit cdfdef5

Please sign in to comment.