Package Exports
- @al/vulnerabilities
- @al/vulnerabilities/dist/index.cjs.js
- @al/vulnerabilities/dist/index.esm5.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@al/vulnerabilities) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@al/vulnerabilities
A client for working with the Vulnerabilities Alert Logic API.
Installation
npm install @al/vulnerabilities --saveUsage
var VulnerabilitiesClient = require('@al/vulnerabilities').AlVulnerabilitiesClient; //commonjs - e.g. node
import { AlVulnerabilitiesClient } from '@al/vulnerabilities'; //ES2015 - e.g. Angular, TS projectsGet Remediation
AlVulnerabilitiesClient.getRemediation(accountId, remediationId)
accountId: '1234'
remediationId: '1234' Interactive
Loads the library into memory and stays in an interactive node shell.
npm run interactiveNOTE - You must build the sources before running this command, see Building section below
Tests
npm testContributing
The sources are written in Typescript and follow the tslint airbnb style.
Building
To generate a production build
npm run buildTo generate a development build
npm run build-devBuilds will be be generated into a dist folder and will contain commonjs and umd bundles that will be consumed depending on the module system in whichever environment you are using.