Skip to content

Commit

Permalink
Update minimum_phantom_version,
Browse files Browse the repository at this point in the history
Add required log statements in actions
  • Loading branch information
mmomin-crest committed Oct 29, 2024
1 parent 869354e commit cd59b88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ivantiitsm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"utctime_updated": "2022-01-18T22:40:10.000000Z",
"package_name": "phantom_ivanti_itsm",
"main_module": "ivantiitsm_connector.py",
"min_phantom_version": "5.0.0",
"min_phantom_version": "6.2.2",
"fips_compliant": true,
"latest_tested_versions": [
"Ivanti ITSM Cloud, 2005-2021 on July 19, 2021"
Expand Down Expand Up @@ -6228,4 +6228,4 @@
"versions": "EQ(*)"
}
]
}
}
3 changes: 2 additions & 1 deletion ivantiitsm_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def _add_attachment(self, action_result, ticket_id, vault_id):
def _handle_test_connectivity(self, param):

# Add an action result object to self (BaseConnector) to represent the action for this param
self.debug_pring("Running test connectivity")
action_result = self.add_action_result(ActionResult(dict(param)))

ret_val = self._connect(action_result)
Expand Down Expand Up @@ -310,7 +311,7 @@ def _handle_on_poll(self, param):
}

self.save_artifact(artifact)

self.debug_print("on poll action succeeded.")
return action_result.set_status(phantom.APP_SUCCESS)

def _handle_run_query(self, param):
Expand Down

0 comments on commit cd59b88

Please sign in to comment.