oci.Adm.getVulnerabilityAudits
This data source provides the list of Vulnerability Audits in Oracle Cloud Infrastructure ADM service.
Returns a list of Vulnerability Audits based on the specified query parameters. At least one of id, compartmentId or knowledgeBaseId query parameter must be provided.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testVulnerabilityAudits = Oci.Adm.GetVulnerabilityAudits.Invoke(new()
{
CompartmentId = @var.Compartment_id,
DisplayName = @var.Vulnerability_audit_display_name,
Id = @var.Vulnerability_audit_id,
IsSuccess = @var.Vulnerability_audit_is_success,
KnowledgeBaseId = oci_adm_knowledge_base.Test_knowledge_base.Id,
State = @var.Vulnerability_audit_state,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Adm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Adm.GetVulnerabilityAudits(ctx, &adm.GetVulnerabilityAuditsArgs{
CompartmentId: pulumi.StringRef(_var.Compartment_id),
DisplayName: pulumi.StringRef(_var.Vulnerability_audit_display_name),
Id: pulumi.StringRef(_var.Vulnerability_audit_id),
IsSuccess: pulumi.BoolRef(_var.Vulnerability_audit_is_success),
KnowledgeBaseId: pulumi.StringRef(oci_adm_knowledge_base.Test_knowledge_base.Id),
State: pulumi.StringRef(_var.Vulnerability_audit_state),
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Adm.AdmFunctions;
import com.pulumi.oci.Adm.inputs.GetVulnerabilityAuditsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testVulnerabilityAudits = AdmFunctions.getVulnerabilityAudits(GetVulnerabilityAuditsArgs.builder()
.compartmentId(var_.compartment_id())
.displayName(var_.vulnerability_audit_display_name())
.id(var_.vulnerability_audit_id())
.isSuccess(var_.vulnerability_audit_is_success())
.knowledgeBaseId(oci_adm_knowledge_base.test_knowledge_base().id())
.state(var_.vulnerability_audit_state())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_vulnerability_audits = oci.Adm.get_vulnerability_audits(compartment_id=var["compartment_id"],
display_name=var["vulnerability_audit_display_name"],
id=var["vulnerability_audit_id"],
is_success=var["vulnerability_audit_is_success"],
knowledge_base_id=oci_adm_knowledge_base["test_knowledge_base"]["id"],
state=var["vulnerability_audit_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVulnerabilityAudits = oci.Adm.getVulnerabilityAudits({
compartmentId: _var.compartment_id,
displayName: _var.vulnerability_audit_display_name,
id: _var.vulnerability_audit_id,
isSuccess: _var.vulnerability_audit_is_success,
knowledgeBaseId: oci_adm_knowledge_base.test_knowledge_base.id,
state: _var.vulnerability_audit_state,
});
variables:
testVulnerabilityAudits:
fn::invoke:
Function: oci:Adm:getVulnerabilityAudits
Arguments:
compartmentId: ${var.compartment_id}
displayName: ${var.vulnerability_audit_display_name}
id: ${var.vulnerability_audit_id}
isSuccess: ${var.vulnerability_audit_is_success}
knowledgeBaseId: ${oci_adm_knowledge_base.test_knowledge_base.id}
state: ${var.vulnerability_audit_state}
Using getVulnerabilityAudits
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVulnerabilityAudits(args: GetVulnerabilityAuditsArgs, opts?: InvokeOptions): Promise<GetVulnerabilityAuditsResult>
function getVulnerabilityAuditsOutput(args: GetVulnerabilityAuditsOutputArgs, opts?: InvokeOptions): Output<GetVulnerabilityAuditsResult>
def get_vulnerability_audits(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_adm.GetVulnerabilityAuditsFilter]] = None,
id: Optional[str] = None,
is_success: Optional[bool] = None,
knowledge_base_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVulnerabilityAuditsResult
def get_vulnerability_audits_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_adm.GetVulnerabilityAuditsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
is_success: Optional[pulumi.Input[bool]] = None,
knowledge_base_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVulnerabilityAuditsResult]
func GetVulnerabilityAudits(ctx *Context, args *GetVulnerabilityAuditsArgs, opts ...InvokeOption) (*GetVulnerabilityAuditsResult, error)
func GetVulnerabilityAuditsOutput(ctx *Context, args *GetVulnerabilityAuditsOutputArgs, opts ...InvokeOption) GetVulnerabilityAuditsResultOutput
> Note: This function is named GetVulnerabilityAudits
in the Go SDK.
public static class GetVulnerabilityAudits
{
public static Task<GetVulnerabilityAuditsResult> InvokeAsync(GetVulnerabilityAuditsArgs args, InvokeOptions? opts = null)
public static Output<GetVulnerabilityAuditsResult> Invoke(GetVulnerabilityAuditsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVulnerabilityAuditsResult> getVulnerabilityAudits(GetVulnerabilityAuditsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Adm/getVulnerabilityAudits:getVulnerabilityAudits
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- Display
Name string A filter to return only resources that match the entire display name given.
- Filters
List<Get
Vulnerability Audits Filter> - Id string
A filter to return only resources that match the specified identifier.
- Is
Success bool A filter to return only successful or failed Vulnerability Audits.
- Knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- State string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- Compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- Display
Name string A filter to return only resources that match the entire display name given.
- Filters
[]Get
Vulnerability Audits Filter - Id string
A filter to return only resources that match the specified identifier.
- Is
Success bool A filter to return only successful or failed Vulnerability Audits.
- Knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- State string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- compartment
Id String A filter to return only resources that belong to the specified compartment identifier.
- display
Name String A filter to return only resources that match the entire display name given.
- filters
List<Get
Vulnerability Audits Filter> - id String
A filter to return only resources that match the specified identifier.
- is
Success Boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base StringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- state String
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- display
Name string A filter to return only resources that match the entire display name given.
- filters
Get
Vulnerability Audits Filter[] - id string
A filter to return only resources that match the specified identifier.
- is
Success boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- state string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- compartment_
id str A filter to return only resources that belong to the specified compartment identifier.
- display_
name str A filter to return only resources that match the entire display name given.
- filters
Get
Vulnerability Audits Filter] - id str
A filter to return only resources that match the specified identifier.
- is_
success bool A filter to return only successful or failed Vulnerability Audits.
- knowledge_
base_ strid A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- state str
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- compartment
Id String A filter to return only resources that belong to the specified compartment identifier.
- display
Name String A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
A filter to return only resources that match the specified identifier.
- is
Success Boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base StringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- state String
A filter to return only Vulnerability Audits that match the specified lifecycleState.
getVulnerabilityAudits Result
The following output properties are available:
- Vulnerability
Audit List<GetCollections Vulnerability Audits Vulnerability Audit Collection> The list of vulnerability_audit_collection.
- Compartment
Id string The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- Display
Name string The name of the Vulnerability Audit.
- Filters
List<Get
Vulnerability Audits Filter> - Id string
Unique vulnerability identifier, e.g. CVE-1999-0067.
- Is
Success bool Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- Knowledge
Base stringId The Oracle Cloud identifier (OCID) of the Knowledge Base.
- State string
The current lifecycle state of the Vulnerability Audit.
- Vulnerability
Audit []GetCollections Vulnerability Audits Vulnerability Audit Collection The list of vulnerability_audit_collection.
- Compartment
Id string The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- Display
Name string The name of the Vulnerability Audit.
- Filters
[]Get
Vulnerability Audits Filter - Id string
Unique vulnerability identifier, e.g. CVE-1999-0067.
- Is
Success bool Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- Knowledge
Base stringId The Oracle Cloud identifier (OCID) of the Knowledge Base.
- State string
The current lifecycle state of the Vulnerability Audit.
- vulnerability
Audit List<GetCollections Vulnerability Audits Vulnerability Audit Collection> The list of vulnerability_audit_collection.
- compartment
Id String The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- display
Name String The name of the Vulnerability Audit.
- filters
List<Get
Vulnerability Audits Filter> - id String
Unique vulnerability identifier, e.g. CVE-1999-0067.
- is
Success Boolean Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- knowledge
Base StringId The Oracle Cloud identifier (OCID) of the Knowledge Base.
- state String
The current lifecycle state of the Vulnerability Audit.
- vulnerability
Audit GetCollections Vulnerability Audits Vulnerability Audit Collection[] The list of vulnerability_audit_collection.
- compartment
Id string The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- display
Name string The name of the Vulnerability Audit.
- filters
Get
Vulnerability Audits Filter[] - id string
Unique vulnerability identifier, e.g. CVE-1999-0067.
- is
Success boolean Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- knowledge
Base stringId The Oracle Cloud identifier (OCID) of the Knowledge Base.
- state string
The current lifecycle state of the Vulnerability Audit.
- vulnerability_
audit_ Getcollections Vulnerability Audits Vulnerability Audit Collection] The list of vulnerability_audit_collection.
- compartment_
id str The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- display_
name str The name of the Vulnerability Audit.
- filters
Get
Vulnerability Audits Filter] - id str
Unique vulnerability identifier, e.g. CVE-1999-0067.
- is_
success bool Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- knowledge_
base_ strid The Oracle Cloud identifier (OCID) of the Knowledge Base.
- state str
The current lifecycle state of the Vulnerability Audit.
- vulnerability
Audit List<Property Map>Collections The list of vulnerability_audit_collection.
- compartment
Id String The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
- display
Name String The name of the Vulnerability Audit.
- filters List<Property Map>
- id String
Unique vulnerability identifier, e.g. CVE-1999-0067.
- is
Success Boolean Indicates if an audit succeeded according to the configuration. The value is
null
if the audit is in theCREATING
state.- knowledge
Base StringId The Oracle Cloud identifier (OCID) of the Knowledge Base.
- state String
The current lifecycle state of the Vulnerability Audit.
Supporting Types
GetVulnerabilityAuditsFilter
GetVulnerabilityAuditsVulnerabilityAuditCollection
GetVulnerabilityAuditsVulnerabilityAuditCollectionItem
- Application
Dependencies List<GetVulnerability Audits Vulnerability Audit Collection Item Application Dependency> - Build
Type string The type of the build tool.
- Compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- Configurations
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Configuration> Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string A filter to return only resources that match the entire display name given.
- Dictionary<string, object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
A filter to return only resources that match the specified identifier.
- Is
Success bool A filter to return only successful or failed Vulnerability Audits.
- Knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- Max
Observed doubleCvss V2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- Max
Observed doubleCvss V2score With Ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- Max
Observed doubleCvss V3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- Max
Observed doubleCvss V3score With Ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- Sources
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Source> Vulnerability Audit source.
- State string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- Time
Updated string The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- Vulnerabilities
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Vulnerability> List of vulnerabilities found in the Vulnerability Audit.
- Vulnerable
Artifacts intCount Count of non-ignored vulnerable Application Dependencies.
- Vulnerable
Artifacts intCount With Ignored Count of all vulnerable Application Dependencies.
- Application
Dependencies []GetVulnerability Audits Vulnerability Audit Collection Item Application Dependency - Build
Type string The type of the build tool.
- Compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- Configurations
[]Get
Vulnerability Audits Vulnerability Audit Collection Item Configuration Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string A filter to return only resources that match the entire display name given.
- map[string]interface{}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
A filter to return only resources that match the specified identifier.
- Is
Success bool A filter to return only successful or failed Vulnerability Audits.
- Knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- Max
Observed float64Cvss V2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- Max
Observed float64Cvss V2score With Ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- Max
Observed float64Cvss V3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- Max
Observed float64Cvss V3score With Ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- Sources
[]Get
Vulnerability Audits Vulnerability Audit Collection Item Source Vulnerability Audit source.
- State string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- Time
Updated string The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- Vulnerabilities
[]Get
Vulnerability Audits Vulnerability Audit Collection Item Vulnerability List of vulnerabilities found in the Vulnerability Audit.
- Vulnerable
Artifacts intCount Count of non-ignored vulnerable Application Dependencies.
- Vulnerable
Artifacts intCount With Ignored Count of all vulnerable Application Dependencies.
- application
Dependencies List<GetVulnerability Audits Vulnerability Audit Collection Item Application Dependency> - build
Type String The type of the build tool.
- compartment
Id String A filter to return only resources that belong to the specified compartment identifier.
- configurations
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Configuration> Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String A filter to return only resources that match the entire display name given.
- Map<String,Object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
A filter to return only resources that match the specified identifier.
- is
Success Boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base StringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- max
Observed DoubleCvss V2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed DoubleCvss V2score With Ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- max
Observed DoubleCvss V3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed DoubleCvss V3score With Ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- sources
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Source> Vulnerability Audit source.
- state String
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- time
Updated String The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- vulnerabilities
List<Get
Vulnerability Audits Vulnerability Audit Collection Item Vulnerability> List of vulnerabilities found in the Vulnerability Audit.
- vulnerable
Artifacts IntegerCount Count of non-ignored vulnerable Application Dependencies.
- vulnerable
Artifacts IntegerCount With Ignored Count of all vulnerable Application Dependencies.
- application
Dependencies GetVulnerability Audits Vulnerability Audit Collection Item Application Dependency[] - build
Type string The type of the build tool.
- compartment
Id string A filter to return only resources that belong to the specified compartment identifier.
- configurations
Get
Vulnerability Audits Vulnerability Audit Collection Item Configuration[] Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string A filter to return only resources that match the entire display name given.
- {[key: string]: any}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
A filter to return only resources that match the specified identifier.
- is
Success boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base stringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- max
Observed numberCvss V2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed numberCvss V2score With Ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- max
Observed numberCvss V3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed numberCvss V3score With Ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- sources
Get
Vulnerability Audits Vulnerability Audit Collection Item Source[] Vulnerability Audit source.
- state string
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- time
Updated string The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- vulnerabilities
Get
Vulnerability Audits Vulnerability Audit Collection Item Vulnerability[] List of vulnerabilities found in the Vulnerability Audit.
- vulnerable
Artifacts numberCount Count of non-ignored vulnerable Application Dependencies.
- vulnerable
Artifacts numberCount With Ignored Count of all vulnerable Application Dependencies.
- application_
dependencies GetVulnerability Audits Vulnerability Audit Collection Item Application Dependency] - build_
type str The type of the build tool.
- compartment_
id str A filter to return only resources that belong to the specified compartment identifier.
- configurations
Get
Vulnerability Audits Vulnerability Audit Collection Item Configuration] Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str A filter to return only resources that match the entire display name given.
- Mapping[str, Any]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
A filter to return only resources that match the specified identifier.
- is_
success bool A filter to return only successful or failed Vulnerability Audits.
- knowledge_
base_ strid A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- max_
observed_ floatcvss_ v2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- max_
observed_ floatcvss_ v2score_ with_ ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- max_
observed_ floatcvss_ v3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- max_
observed_ floatcvss_ v3score_ with_ ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- sources
Get
Vulnerability Audits Vulnerability Audit Collection Item Source] Vulnerability Audit source.
- state str
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- time_
updated str The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- vulnerabilities
Get
Vulnerability Audits Vulnerability Audit Collection Item Vulnerability] List of vulnerabilities found in the Vulnerability Audit.
- vulnerable_
artifacts_ intcount Count of non-ignored vulnerable Application Dependencies.
- vulnerable_
artifacts_ intcount_ with_ ignored Count of all vulnerable Application Dependencies.
- application
Dependencies List<Property Map> - build
Type String The type of the build tool.
- compartment
Id String A filter to return only resources that belong to the specified compartment identifier.
- configurations List<Property Map>
Configuration for a Vulnerability Audit. A vulnerable Application Dependency is ignored if its name does match any of the items in
exclusions
, or all of the associated Vulnerabilies have a CVSS v2 score belowmaxPermissibleCvssV2Score
and a CVSS v3 score belowmaxPermissibleCvssV3Score
. type: object- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String A filter to return only resources that match the entire display name given.
- Map<Any>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
A filter to return only resources that match the specified identifier.
- is
Success Boolean A filter to return only successful or failed Vulnerability Audits.
- knowledge
Base StringId A filter to return only Vulnerability Audits that were created against the specified knowledge base.
- max
Observed NumberCvss V2score Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed NumberCvss V2score With Ignored Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
- max
Observed NumberCvss V3score Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
- max
Observed NumberCvss V3score With Ignored Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
- sources List<Property Map>
Vulnerability Audit source.
- state String
A filter to return only Vulnerability Audits that match the specified lifecycleState.
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
- time
Updated String The update date and time of the Vulnerability Audit (formatted according to RFC3339).
- vulnerabilities List<Property Map>
List of vulnerabilities found in the Vulnerability Audit.
- vulnerable
Artifacts NumberCount Count of non-ignored vulnerable Application Dependencies.
- vulnerable
Artifacts NumberCount With Ignored Count of all vulnerable Application Dependencies.
GetVulnerabilityAuditsVulnerabilityAuditCollectionItemApplicationDependency
- Application
Dependency List<string>Node Ids - Gav string
- Node
Id string
- Application
Dependency []stringNode Ids - Gav string
- Node
Id string
- application
Dependency List<String>Node Ids - gav String
- node
Id String
- application
Dependency string[]Node Ids - gav string
- node
Id string
- application_
dependency_ Sequence[str]node_ ids - gav str
- node_
id str
- application
Dependency List<String>Node Ids - gav String
- node
Id String
GetVulnerabilityAuditsVulnerabilityAuditCollectionItemConfiguration
- Exclusions List<string>
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- Max
Permissible doubleCvss V2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- Max
Permissible doubleCvss V3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- Exclusions []string
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- Max
Permissible float64Cvss V2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- Max
Permissible float64Cvss V3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- exclusions List<String>
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- max
Permissible DoubleCvss V2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- max
Permissible DoubleCvss V3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- exclusions string[]
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- max
Permissible numberCvss V2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- max
Permissible numberCvss V3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- exclusions Sequence[str]
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- max_
permissible_ floatcvss_ v2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- max_
permissible_ floatcvss_ v3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- exclusions List<String>
A vulnerable Application Dependency is ignored if its name matches any of the items in
exclusions
.- max
Permissible NumberCvss V2score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- max
Permissible NumberCvss V3score A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
GetVulnerabilityAuditsVulnerabilityAuditCollectionItemSource
- Description string
Description of the external resource source.
- Oci
Resource stringId The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- Type string
Source type of the Vulnerability Audit.
- Description string
Description of the external resource source.
- Oci
Resource stringId The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- Type string
Source type of the Vulnerability Audit.
- description String
Description of the external resource source.
- oci
Resource StringId The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- type String
Source type of the Vulnerability Audit.
- description string
Description of the external resource source.
- oci
Resource stringId The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- type string
Source type of the Vulnerability Audit.
- description str
Description of the external resource source.
- oci_
resource_ strid The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- type str
Source type of the Vulnerability Audit.
- description String
Description of the external resource source.
- oci
Resource StringId The Oracle Cloud identifier (OCID) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit.
- type String
Source type of the Vulnerability Audit.
GetVulnerabilityAuditsVulnerabilityAuditCollectionItemVulnerability
- Cvss
V2score double Common Vulnerability Scoring System (CVSS) Version 2.
- Cvss
V3score double Common Vulnerability Scoring System (CVSS) Version 3.
- Id string
A filter to return only resources that match the specified identifier.
- Is
Ignored bool Indicates if the vulnerability was ignored according to the audit configuration.
- Cvss
V2score float64 Common Vulnerability Scoring System (CVSS) Version 2.
- Cvss
V3score float64 Common Vulnerability Scoring System (CVSS) Version 3.
- Id string
A filter to return only resources that match the specified identifier.
- Is
Ignored bool Indicates if the vulnerability was ignored according to the audit configuration.
- cvss
V2score Double Common Vulnerability Scoring System (CVSS) Version 2.
- cvss
V3score Double Common Vulnerability Scoring System (CVSS) Version 3.
- id String
A filter to return only resources that match the specified identifier.
- is
Ignored Boolean Indicates if the vulnerability was ignored according to the audit configuration.
- cvss
V2score number Common Vulnerability Scoring System (CVSS) Version 2.
- cvss
V3score number Common Vulnerability Scoring System (CVSS) Version 3.
- id string
A filter to return only resources that match the specified identifier.
- is
Ignored boolean Indicates if the vulnerability was ignored according to the audit configuration.
- cvss_
v2score float Common Vulnerability Scoring System (CVSS) Version 2.
- cvss_
v3score float Common Vulnerability Scoring System (CVSS) Version 3.
- id str
A filter to return only resources that match the specified identifier.
- is_
ignored bool Indicates if the vulnerability was ignored according to the audit configuration.
- cvss
V2score Number Common Vulnerability Scoring System (CVSS) Version 2.
- cvss
V3score Number Common Vulnerability Scoring System (CVSS) Version 3.
- id String
A filter to return only resources that match the specified identifier.
- is
Ignored Boolean Indicates if the vulnerability was ignored according to the audit configuration.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.