The Security Insights feature is deprecated and will no longer be supported.
Purpose: This is a sample application that mimics up a security product that can participate in integration flows with IBM Cloud Security Advisor offering in IBM Cloud.
Pre-requisites :
- Create key and certificate for the ssl connection.
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
- Create a kuberenetes secret with these key and cert to be used during helm deployment.
Steps:
- Clone the repo
- npm install
- npm start
- Access the swagger UI at https://localhost:8888/v1/setup/docs
- Clone the repo
- All the API routes are defined under
src/app.js
, following is the API-function mapping:- Setup (/v1/setup) :
bpSetUp
function - Setup configuration (/v1/setup/configuration):
bpSetUpConfig
function - Setup test (/v1/setup/test):
bpSetUpTest
function - Dashboard URL (/v1/setup/dashboard):
getDashboardUrl
function - Metadata (/v1/setup/metadata):
getMetadata
function
- Setup (/v1/setup) :