techservicesillinois / secops-splunk-null-router

null router app for Splunk SOAR
Other
3 stars 0 forks source link

SOAR deployment issues #20

Closed ddriddle closed 1 year ago

ddriddle commented 2 years ago

Tried the following during the 8/11 afternoon ensemble:

Questions for Splunk:

Originally posted by @zdc217 in https://github.com/techservicesillinois/secops-splunk-null-router/issues/15#issuecomment-1212460463

ddriddle commented 2 years ago

Daniel Federschmidt, a Splunk developer, previously answered one of our questions on 5/25/2022 in an email thread:

Thanks for reaching out! Unfortunately, there is no direct UI / API way to "unrelease" an app. Most users prefer being able to swiftly role back to the old app if they encounter issues. ... If you really want to "unrelease" an app, there is a workaround, although it's a little cumbersome. You can use a custom function within a playbook to delete the app bundle for the specific version on the file system. I attached a custom function that performs that so you could drop it into a playbook (which could be called: remove_soar_app_by_version)

edthedev commented 1 year ago

I'm going to document our answers and close this issue.

How do we configure playbooks to use a particular app version?

Each playbook can choose which configured 'asset' to use. We have one for test and and one for production. Moving the app version in the configured app for production will move all production playbooks.

How do we delete or unpublish old app versions?

We do not. We are currently (2022 Oct) working around the concern of too many test versions being published by always publishing test code as version 0.0.0.

How do we determine the app version being used by a playbook?

In addition to reviewing the asset configuration as described above- we have also started storing the git hash and tag version (if any) in our source code so that it can be output to the log file during a playbook run.