SecOps IDE Case Creation Issue - Add Case Description

Hi Everyone,
 
I have a question that I'm hoping you may know the answer to:
  • I'm creating a SecOps Scheduled Job
  • The job performs some functionality (RSS Feed) and I want it to create a case 
  • Since it's not a log based event (more of a trigger), I need to trigger case creation myself (Python IDE)
  • I've only managed to create a manual case using this method, not sure if there is a better way. (/api/external/v1/cases/CreateManualCase)
 
Issue:
  • I can't figure out how to add in a case description to the case during case creation. 
  • Attempted to Change Case Description API (/api/external/v1/cases/ChangeCaseDescription) but I can't figure out how to get the Case ID as the siemplify.case_id functionality does not return any information (I'm assuming that the case is being created while this is being called). 
Request:
  • Do you know of a way to create a Manual case with a case description? Or
  • Do you know of a better way to do this?
Solved Solved
0 1 6,463
1 ACCEPTED SOLUTION

If anyone is looking at this, you can retrieve the response from the response.json() field and then use that to call the case description endpoint. 

View solution in original post

1 REPLY 1

If anyone is looking at this, you can retrieve the response from the response.json() field and then use that to call the case description endpoint.