Creating a Vulnerability Audit
Describes how to create a vulnerability audit.
You can create a vulnerability audit using an Oracle SDK, the Oracle Command Line Interface (CLI), or the Application Dependency Management API. All three approaches have the following prerequisites:
-
You have created a compartment, or have access to an existing compartment. (To create a compartment, see Managing Compartments.)
- You have created a knowledge base, or have access to an existing knowledge base. (To create a knowledge base, see Creating a Knowledge Base.)
Note
You can't create a vulnerability audit using the Console.
You can't create a vulnerability audit using the Console.
Using the SDK
- Install and configure the chosen SDK. (For more information, see SDKs and the CLI.)
- Follow the examples in the Application Dependency Management API to create a new vulnerability audit.
Using the CLI
Use the oci adm vulnerability-audit create command and required parameters to create a vulnerability audit:
oci adm vulnerability-audit create --build-type build_type --knowledge-base-id knowledge_base_id [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Using the API
Use the CreateVulnerabilityAudit operation to create a vulnerability audit.