
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@servisbot/sb-sdk
Advanced tools
An SDK for all your ServisBOT Needs
npm install --save @servisbot/sb-sdk
From version 6.6.0 onwards - SB.Auth now requires two new parameters for working with lithium resources - lithiumHttpApiUrl and cognitoJwtToken 8.0.0 - Changes to AuthProfile contracts to move towards consistency with lithium
12.0.0 - Changes to a number of the metric requests - start and end are no longer epoch timestamps
15.0.0 - Drawbridge Removed
The Auth class requires Organization, Bullseye Url, Virtual Assistant URL, lithiumHttpApiUrl and Credentials for aws4 signed requests.
To work with Lithium a cognito cognitoJwtToken is required, this is the token passed to cognito to get user pool details.
SDK clients also take a client name, to help identify where SDK requests are originating from - e.g. @servisbot/myClient@1.0.0
.
As an object
const fetch = require('node-fetch') || window.fetch;
const SB = require('@servisbot/sb-sdk')(fetch, "@servisbot/myClient@1.0.0");
const auth = new SB.Auth({
organization: '<Your Organization>',
bullseyeUrl:'<ServisBOT bullseye url>',
virtualAssistantUrl:'<ServisBOT virtual assistant url>',
brocaUrl:'<ServisBOT broca url>',
metrickyUrl:'<ServisBOT metricky url>',
credentials:{
accessKeyId: '<Access Key Id>',
secretAccessKey: '<Secret Access Key>',
sessionToken: '<Session Token>'
},
cognitoJwtToken: '<JWT Token>',
timezone:'<Your local timezone (optional)>'
});
As a function, async supported
const fetch = require('node-fetch') || window.fetch;
const SB = require('@servisbot/sb-sdk')(fetch, "@servisbot/myClient@1.0.0");
const auth = new SB.Auth({
organization: '<Your Organization>',
bullseyeUrl:'<ServisBOT bullseye url>',
credentials: () => async getYourCredentials(),
cognitoJwtToken: '<JWT Token>'
});
FAQs
An SDK to interact with ServisBOT
The npm package @servisbot/sb-sdk receives a total of 104 weekly downloads. As such, @servisbot/sb-sdk popularity was classified as not popular.
We found that @servisbot/sb-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.