- App Host support
- Initial Release
Resilient Circuits Components for 'fn_pulsedive'
Resilient Circuits Components for 'fn_pulsedive'
- Resilient platform >=
v35.0.5343
- An Integration Server running
resilient_circuits>=30.0.0
- The minimum set of Resilient API permissions if using an API key account:
- Incidents.Edit.Fields
- Workflows.Create
- Workflows.Edit
- Functions.Read
- Functions.Create
- Functions.Edit
- Other.ReadIncidentsActionInvocations
- Edit Org Data
- Scripts.Create
- Scripts.Edit
- To set up an Integration Server see: ibm.biz/res-int-server-guide
- The minimum set of Resilient API permissions if using an API key account:
-
Download the
fn_pulsedive.zip
. -
Copy the
.zip
to your Integration Server and SSH into it. -
Unzip the package:
$ unzip fn_pulsedive-x.x.x.zip
-
Change Directory into the unzipped directory:
$ cd fn_pulsedive-x.x.x
-
Install the package:
$ pip install fn_pulsedive-x.x.x.tar.gz
-
Import the configurations into your app.config file:
$ resilient-circuits config -u
-
Import the fn_pulsedive customizations into the Resilient platform:
$ resilient-circuits customize -y -l fn-pulsedive
-
Open the config file, scroll to the bottom and edit your fn_pulsedive configurations:
$ nano ~/.resilient/app.config
Config Required Example Description pulsedive_api_key Yes <my api key>
User API key that can be found under Pulsedive --> API pulsedive_api_url Yes https://pulsedive.com/api/
Pulsedive base URL -
Save and Close the app.config file.
-
[Optional]: Run selftest to test the Integration you configured:
$ resilient-circuits selftest -l fn-pulsedive
-
Run resilient-circuits or restart the Service on Windows/Linux:
$ resilient-circuits run
- SSH into your Integration Server.
- Uninstall the package:
$ pip uninstall fn-pulsedive
- Open the config file, scroll to the [fn_pulsedive] section and remove the section or prefix
#
to comment out the section. - Save and Close the app.config file.
There are several ways to verify the successful operation of a function.
- When viewing an incident, use the Actions menu to view Action Status.
- By default, pending and errors are displayed.
- Modify the filter for actions to also show Completed actions.
- Clicking on an action displays additional information on the progress made or what error occurred.
- A separate log file is available to review scripting errors.
- This is useful when issues occur in the pre-processing or post-processing scripts.
- The default location for this log file is:
/var/log/resilient-scripting/resilient-scripting.log
.
- By default, Resilient logs are retained at
/usr/share/co3/logs
. - The
client.log
may contain additional information regarding the execution of functions.
- The log is controlled in the
.resilient/app.config
file under the section [resilient] and the propertylogdir
. - The default file name is
app.log
. - Each function will create progress information.
- Failures will show up as errors and may contain python trace statements.
Pulsedive Search may take a long time to execute. In the case that the function times out, you can edit the
timeout setting in app.config
. If the timeout setting is not there, go to app.config
and add the following
to increase the timeout setting to 60 seconds. For example:
[integrations]
timeout=60
Name | Version | Author | Support URL |
---|---|---|---|
fn_pulsedive | 1.0.1 | Resilient Labs | http://ibm.biz/resilientcommunity |