
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@labshare/request-tracking-api
Advanced tools
The purpose of this projects is to manage apis for request tracking.
npm install -g lsc
config.json
has a billing object with a key
of facilityID
and a value of the enviorment you will work in such as myrtb-ci
myrtb-ci
, myrtb-qa
, and myrtb
Example config.json:
{
"storage": {
"proxy": "auto"
},
"session": {
"facilityPath":"/"
},
"facility": {
"ServiceUrl": "https://example.exam.nih.gov/v3",
"facilityPath": "/",
"spfacility": {
"User": "aws\\ExampleUser",
"Password": "Password12345",
"Strategy": "hybrid",
"CustomStrategyPrefix": "i:0ǵ.t",
"Site": "https://myrtb-ci-default.aws.labshare.org",
"CustomStrategyName": "labshare"
},
"FacilityDB": "@labshare/spfacility",
"Facilities": {
"Type": "file",
"Settings": {
"Path": "./facilities.json"
}
}
},
"shell": {
"LoadServices": true,
"Auth": {
"Url": "https://a.labshare.org/_api"
}
},
"billing": {
"facilityID": "myrtb-ci"
}
}
To run the project, simply run the following command from the root of the repository:
$ lsc start services
Every endpoint other than the /billing
endpoint needs this request body.
{
"chargeList": String,
"section":[{
"sectionName":String,
"listNames": [String]
}],
"endDate": String,
"status": String
}
Example:
{
"chargeList": "RTB-Charges-FY18",
"section":[{
"sectionName":"myrtb-ci-bis",
"listNames": ["Reservations","PosterPrinter"]
},{
"sectionName":"myrtb-ci-fcs",
"listNames": ["charges","reservations","flowjo billing"]
}],
"endDate": "10/31/2019",
"status": "readytobill"
}
Note if section
is an empty array it will run though all billing sections and lists.
FAQs
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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.