chrivand / PSIRT-to-SecureX-Casebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cisco Security Advisory (Critical Impact) to SecureX Casebook and Webex

This workflow fetches Critical Impact Security Advisories from the last week from Cisco PSIRT API every hour. If there are any new advisories, or if an existing advisory is updated, the table is updated, a SecureX Casebook is created and optionally a Webex notification is sent. It is very important to stay up to date with these advisory updates, to minimize the chance of a cyber attack to your organization.

Note: More info on "Cisco PSIRT openVuln API": https://developer.cisco.com/docs/psirt/#!overview/overview

Note: This workflow is work in progress and will be enhanced. Please see this as v0.

Creating Cisco PSIRT openVuln API credentials

  1. Browse to https://apiconsole.cisco.com/apps/register and log in with Cisco ID.
  2. Enter a name for the app (e.g. Cisco PSIRT openVuln API SecureX orchestration):

  1. Select "Cisco PSIRT openVuln API", agree to the terms and click register.

  1. Now check your email, you will have received the API key (client_id) there.
  2. Browse to https://apiconsole.cisco.com/apps/mykeys to find your API secret (client_secret).
  3. We will use these keys in the subsequent steps.

Importing the workflow

  1. Click import in SecureX orchestration:

  1. Import the workflow by copy pasting the JSON in to SecureX orchestration IMPORT pane:

  1. You will now get prompted to enter missing information. Click UPDATE:

  1. Copy paste this values into the SecureX orchestration update window, and click IMPORT.

  1. Make sure both values were inputted correctly by checking out the 2 input variables in the workflow details section on the right.
  2. You will also see 2 not required input variables for Webex. If you wish to use Webex notifications you can fill these in. Use either Personal Access Token (recommended for testing) or Bot Access Token (recommened for production). Log in to developer.webex.com to get started. If you do not wish to use Webex Teams you can leave these alone and the workflow will skip this part.
  3. Double check that you have a target called Cisco Cloud SSO with "HTTPS", without default Account Keys (set to "True") and Host/IPAddress "cloudsso.cisco.com". This target is used in the GET Token from Cisco Cloud SSO activity.

  1. Also double check that you have a target called Cisco API with "HTTPS", without default Account Keys (set to "True") and Host/IPAddress "api.cisco.com". This target is used in the GET Critical IMPACT for the last week activity.
  2. OPTIONAL: Finally double check that you have a target called Webex Teams with "HTTPS", without default Account Keys (set to "True"), Port "443" and Host/IPAddress "webexapis.com". This target is used in the GET Critical IMPACT for the last week activity.
  3. You can now run this workflow to double check everything is working. The workflow has a built-in schedule to run every hour.

Voila, the result in Cisco SecureX Casebook:

And also, the result in Webex (optional):

Enjoy and stay safe!

About

License:Other