
Product
A New Design for GitHub PR Comments
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
azure-container-api
Advanced tools
npm install --save azure-container-api
import container from 'azure-container-api';
const storage = {
container: 'test',
account: 'azure-account-name-here',
accessKey: 'azure-storage-access-key-here',
};
var prefix = null; // path prefix
var nextMarker = null;
var targetLocation = 0;
var continuationToken = nextMarker ? {nextMarker: nextMarker, targetLocation: targetLocation} : null;
const options = {
maxResults: 25,
date: { year: 2013, month: 7, day: 27 },
};
container.getContentFromContainer(storage, prefix, continuationToken, options, function (err, blobs, continuationToken) {
/* blobs: array of entries:
[
{
name: 'xxxx',
properties: {
'last-modified': 'Thu, 10 Sep 2015 21:03:26 GMT',
'etag': '0x8D2BA2345B07FCF',
'content-length': # bytes,
'content-type': 'application/octet-stream',
'content-encoding': ,
'content-language': ,
'content-md5': ,
'cache-control': ,
'content-disposition':,
'blobtype': ,
'leasestatus': ,
'leasestate':
}
}
]
*/
});
See properties reference: https://msdn.microsoft.com/en-us/library/azure/dd179394.aspx
date
(Optional)FAQs
Get's container list from Azure API
We found that azure-container-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.