Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@google-cloud/containeranalysis
Advanced tools
Container Analysis API client for Node.js
Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
Table of contents:
npm install @google-cloud/containeranalysis
async function quickstart() {
// Imports the @google-cloud/containeranalysis client library
const client = require('@google-cloud/containeranalysis');
console.log(client);
}
quickstart();
Samples are in the samples/
directory. The samples' README.md
has instructions for running the samples.
Sample | Source Code | Try it |
---|---|---|
Create Note | source code | |
Create Occurrence | source code | |
Delete Note | source code | |
Delete Occurrence | source code | |
Get Discovery Info | source code | |
Get Note | source code | |
Get Occurrence | source code | |
Get High Vulnerabilities for Image | source code | |
Occurrence PubSub | source code | |
Occurrences for Image | source code | |
Occurrences for Note | source code | |
Poll Discovery Occurrence Finished | source code | |
Quickstart | source code | |
Vulnerability Occurrences for Image | source code |
The Google Container Analysis Node.js Client API Reference documentation also contains samples.
This library follows Semantic Versioning.
This library is considered to be in alpha. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Apache Version 2.0
See LICENSE
FAQs
Containeranalysis client for Node.js
The npm package @google-cloud/containeranalysis receives a total of 2,468 weekly downloads. As such, @google-cloud/containeranalysis popularity was classified as popular.
We found that @google-cloud/containeranalysis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.