24 stable releases

new 1.25.0 May 14, 2024
1.21.0 Apr 22, 2024
1.18.0 Mar 26, 2024
1.9.0 Dec 21, 2023
0.1.0 Nov 21, 2023

#5 in #material

Download history 11/week @ 2024-01-22 161/week @ 2024-02-19 139/week @ 2024-02-26 6/week @ 2024-03-04 176/week @ 2024-03-11 17/week @ 2024-03-18 91/week @ 2024-03-25 30/week @ 2024-04-01 184/week @ 2024-04-08 10/week @ 2024-04-15 106/week @ 2024-04-22 103/week @ 2024-04-29 178/week @ 2024-05-06

408 downloads per month

Apache-2.0

280KB
4K SLoC

aws-sdk-inspectorscan

Amazon Inspector Scan is a vulnerability discovery service that scans a provided Software Bill of Materials (SBOM) for security vulnerabilities.

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-inspectorscan to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-inspectorscan = "1.25.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_inspectorscan as inspectorscan;

#[::tokio::main]
async fn main() -> Result<(), inspectorscan::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_inspectorscan::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help

License

This project is licensed under the Apache-2.0 License.

Dependencies

~7–19MB
~269K SLoC