
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
@software-hardware-integration-lab/sdk-data-gateway
Advanced tools
SDK client used to interface with the SHI Data Gateway service.
This SDK provides a convenient TypeScript client for interacting with the SHI Data Gateway service. It is automatically generated from the OpenAPI specification located at Data-Gateway.json using Kiota.
All typing data is included in the package.
Install the SDK using npm:
npm install @shi-corp/sdk-data-gateway
Here's a basic example of how to use the SDK:
import { DefaultAzureCredential } from '@azure/identity'
import { dataGatewayClientFactory } from '@shi-corp/sdk-data-gateway';
/** Authentication session used to authenticate to the SHI Data Gateway. */
const credential = new DefaultAzureCredential();
/** Configured client for the data gateway that can make authenticated web requests against SDG. */
const sdgClient = dataGatewayClientFactory(credential);
/** Collection of correlation records representing the available list of license reports for the current authenticated tenant. */
const results = await sdgClient.api.licenseReport.correlation.get();
// Loop through each available license report
for (const correlationRecord of results) {
// Do something here
}
You can optionally configure the SDK client with a custom base URL, including support for it being nested deep in a L7 load balancer:
/** Custom host and endpoint base to as an example for something behind a layer 7 load balancer, E.g. Azure App Gateway or Azure API Gateway. If in debug mode, run against localhost. */
const customBaseUrl = debugMode ? new URL('http://localhost:3002') : new URL('https://custom-host.example.com/Ballance/Instance1/');
/** Configured instance of the Data Gateway client. */
const customConfiguredClient = dataGatewayClientFactory(credential, customBaseUrl);
and/or scope (permission) list:
/**
* This parameter defaults to ['4c40281b-a305-4aaf-90a4-d5bbee6eb8ed/.default'].
* `.default` and explicit permissions can't exist in the same custom scope list at the same time, Entra ID doesn't support this.
*
* If not providing the `.default` scope, you can have any number of scopes (permissions) listed.
*/
const customScopes = ['your-custom-scope/something.read.all', 'your-custom-scope/everything.readwrite.all'];
// Initialize the SDK client with custom configuration.
const customConfiguredClient = dataGatewayClientFactory(credential, void 0, customScopes);
bin/: Compiled JavaScript files and type definitions.sdk/: Source TypeScript files generated by Kiota.
api/: API endpoint definitions.models/: Data models used by the SDK.To regenerate the SDK from the OpenAPI specification, run:
npm run generate:Sdk
To build the SDK for production, run:
npm run build:Prod
This SDK is licensed under the MIT License.
For issues or feature requests, please visit the GitHub Issues page.
For more information, visit the official documentation.
FAQs
SDK client used to interface with the SHI Data Gateway service.
We found that @software-hardware-integration-lab/sdk-data-gateway 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.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.