Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

[DEPRECATED] Sample application which shows how a business partner application can be integrated with IBM Cloud Security Advisor partner integration flow

License

Notifications You must be signed in to change notification settings

ibm-cloud-security/security-advisor-reference-partner-product

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

The Security Insights feature is deprecated and will no longer be supported.

Security Advisor Reference Partner Product

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.

How to run locally

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:

  1. Clone the repo
  2. npm install
  3. npm start
  4. Access the swagger UI at https://localhost:8888/v1/setup/docs

How to modify the functionality of exposed API's

  1. Clone the repo
  2. 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

About

[DEPRECATED] Sample application which shows how a business partner application can be integrated with IBM Cloud Security Advisor partner integration flow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published