Viewing docs for Oracle Cloud Infrastructure v4.10.0
published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.10.0
published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
This data source provides details about a specific Errata resource in Oracle Cloud Infrastructure Os Management Hub service.
Returns information about the specified erratum based on its advisory name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testErrata = oci.OsManagementHub.getErrata({
compartmentId: compartmentId,
names: errataName,
});
import pulumi
import pulumi_oci as oci
test_errata = oci.OsManagementHub.get_errata(compartment_id=compartment_id,
names=errata_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/osmanagementhub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := osmanagementhub.GetErrata(ctx, &osmanagementhub.GetErrataArgs{
CompartmentId: compartmentId,
Names: errataName,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testErrata = Oci.OsManagementHub.GetErrata.Invoke(new()
{
CompartmentId = compartmentId,
Names = errataName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
import com.pulumi.oci.OsManagementHub.inputs.GetErrataArgs;
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 testErrata = OsManagementHubFunctions.getErrata(GetErrataArgs.builder()
.compartmentId(compartmentId)
.names(errataName)
.build());
}
}
variables:
testErrata:
fn::invoke:
function: oci:OsManagementHub:getErrata
arguments:
compartmentId: ${compartmentId}
names: ${errataName}
Using getErrata
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 getErrata(args: GetErrataArgs, opts?: InvokeOptions): Promise<GetErrataResult>
function getErrataOutput(args: GetErrataOutputArgs, opts?: InvokeOptions): Output<GetErrataResult>def get_errata(advisory_severities: Optional[Sequence[str]] = None,
advisory_types: Optional[Sequence[str]] = None,
classification_types: Optional[Sequence[str]] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetErrataFilter]] = None,
name_contains: Optional[str] = None,
names: Optional[Sequence[str]] = None,
os_family: Optional[str] = None,
time_issue_date_end: Optional[str] = None,
time_issue_date_start: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetErrataResult
def get_errata_output(advisory_severities: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
advisory_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
classification_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
compartment_id: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetErrataFilterArgs]]]] = None,
name_contains: pulumi.Input[Optional[str]] = None,
names: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
os_family: pulumi.Input[Optional[str]] = None,
time_issue_date_end: pulumi.Input[Optional[str]] = None,
time_issue_date_start: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetErrataResult]func GetErrata(ctx *Context, args *GetErrataArgs, opts ...InvokeOption) (*GetErrataResult, error)
func GetErrataOutput(ctx *Context, args *GetErrataOutputArgs, opts ...InvokeOption) GetErrataResultOutput> Note: This function is named GetErrata in the Go SDK.
public static class GetErrata
{
public static Task<GetErrataResult> InvokeAsync(GetErrataArgs args, InvokeOptions? opts = null)
public static Output<GetErrataResult> Invoke(GetErrataInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetErrataResult> getErrata(GetErrataArgs args, InvokeOptions options)
public static Output<GetErrataResult> getErrata(GetErrataArgs args, InvokeOptions options)
fn::invoke:
function: oci:OsManagementHub/getErrata:getErrata
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Advisory
Severities List<string> - The severity for a security advisory, otherwise, null.
- Advisory
Types List<string> - The advisory type of the erratum.
- Classification
Types List<string> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Filters
List<Get
Errata Filter> - Name
Contains string - Names List<string>
- The erratum name (such as ELSA-2023-34678).
- Os
Family string - Time
Issue stringDate End - Time
Issue stringDate Start
- Compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- Advisory
Severities []string - The severity for a security advisory, otherwise, null.
- Advisory
Types []string - The advisory type of the erratum.
- Classification
Types []string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Filters
[]Get
Errata Filter - Name
Contains string - Names []string
- The erratum name (such as ELSA-2023-34678).
- Os
Family string - Time
Issue stringDate End - Time
Issue stringDate Start
- compartment
Id String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- advisory
Severities List<String> - The severity for a security advisory, otherwise, null.
- advisory
Types List<String> - The advisory type of the erratum.
- classification
Types List<String> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
List<Get
Errata Filter> - name
Contains String - names List<String>
- The erratum name (such as ELSA-2023-34678).
- os
Family String - time
Issue StringDate End - time
Issue StringDate Start
- compartment
Id string - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- advisory
Severities string[] - The severity for a security advisory, otherwise, null.
- advisory
Types string[] - The advisory type of the erratum.
- classification
Types string[] - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
Get
Errata Filter[] - name
Contains string - names string[]
- The erratum name (such as ELSA-2023-34678).
- os
Family string - time
Issue stringDate End - time
Issue stringDate Start
- compartment_
id str - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- advisory_
severities Sequence[str] - The severity for a security advisory, otherwise, null.
- advisory_
types Sequence[str] - The advisory type of the erratum.
- classification_
types Sequence[str] - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
Sequence[Get
Errata Filter] - name_
contains str - names Sequence[str]
- The erratum name (such as ELSA-2023-34678).
- os_
family str - time_
issue_ strdate_ end - time_
issue_ strdate_ start
- compartment
Id String - The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
- advisory
Severities List<String> - The severity for a security advisory, otherwise, null.
- advisory
Types List<String> - The advisory type of the erratum.
- classification
Types List<String> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters List<Property Map>
- name
Contains String - names List<String>
- The erratum name (such as ELSA-2023-34678).
- os
Family String - time
Issue StringDate End - time
Issue StringDate Start
getErrata Result
The following output properties are available:
- Compartment
Id string - Erratum
Collections List<GetErrata Erratum Collection> - Id string
- The provider-assigned unique ID for this managed resource.
- Advisory
Severities List<string> - The severity for a security advisory, otherwise, null.
- Advisory
Types List<string> - The advisory type of the erratum.
- Classification
Types List<string> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Filters
List<Get
Errata Filter> - Name
Contains string - Names List<string>
- Unique identifier for the package. Note that this is not an OCID.
- Os
Family string - Time
Issue stringDate End - Time
Issue stringDate Start
- Compartment
Id string - Erratum
Collections []GetErrata Erratum Collection - Id string
- The provider-assigned unique ID for this managed resource.
- Advisory
Severities []string - The severity for a security advisory, otherwise, null.
- Advisory
Types []string - The advisory type of the erratum.
- Classification
Types []string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Filters
[]Get
Errata Filter - Name
Contains string - Names []string
- Unique identifier for the package. Note that this is not an OCID.
- Os
Family string - Time
Issue stringDate End - Time
Issue stringDate Start
- compartment
Id String - erratum
Collections List<GetErrata Erratum Collection> - id String
- The provider-assigned unique ID for this managed resource.
- advisory
Severities List<String> - The severity for a security advisory, otherwise, null.
- advisory
Types List<String> - The advisory type of the erratum.
- classification
Types List<String> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
List<Get
Errata Filter> - name
Contains String - names List<String>
- Unique identifier for the package. Note that this is not an OCID.
- os
Family String - time
Issue StringDate End - time
Issue StringDate Start
- compartment
Id string - erratum
Collections GetErrata Erratum Collection[] - id string
- The provider-assigned unique ID for this managed resource.
- advisory
Severities string[] - The severity for a security advisory, otherwise, null.
- advisory
Types string[] - The advisory type of the erratum.
- classification
Types string[] - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
Get
Errata Filter[] - name
Contains string - names string[]
- Unique identifier for the package. Note that this is not an OCID.
- os
Family string - time
Issue stringDate End - time
Issue stringDate Start
- compartment_
id str - erratum_
collections Sequence[GetErrata Erratum Collection] - id str
- The provider-assigned unique ID for this managed resource.
- advisory_
severities Sequence[str] - The severity for a security advisory, otherwise, null.
- advisory_
types Sequence[str] - The advisory type of the erratum.
- classification_
types Sequence[str] - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters
Sequence[Get
Errata Filter] - name_
contains str - names Sequence[str]
- Unique identifier for the package. Note that this is not an OCID.
- os_
family str - time_
issue_ strdate_ end - time_
issue_ strdate_ start
- compartment
Id String - erratum
Collections List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- advisory
Severities List<String> - The severity for a security advisory, otherwise, null.
- advisory
Types List<String> - The advisory type of the erratum.
- classification
Types List<String> - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- filters List<Property Map>
- name
Contains String - names List<String>
- Unique identifier for the package. Note that this is not an OCID.
- os
Family String - time
Issue StringDate End - time
Issue StringDate Start
Supporting Types
GetErrataErratumCollection
GetErrataErratumCollectionItem
- Advisory
Severity string - The severity for a security advisory, otherwise, null.
- Advisory
Type string - The advisory type of the erratum.
- Classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Description string
- Software source description.
- From string
- Information specifying from where the erratum was release.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families List<string> - The OS families the package belongs to.
- Packages
List<Get
Errata Erratum Collection Item Package> - List of packages affected by this erratum.
- References string
- Information describing how to find more information about. the erratum.
- List<string>
- List of CVEs applicable to this erratum.
- Repositories List<string>
- List of repository identifiers.
- Solution string
- Information describing how the erratum can be resolved.
- Synopsis string
- Summary description of the erratum.
- Time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- Time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- Advisory
Severity string - The severity for a security advisory, otherwise, null.
- Advisory
Type string - The advisory type of the erratum.
- Classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- Description string
- Software source description.
- From string
- Information specifying from where the erratum was release.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families []string - The OS families the package belongs to.
- Packages
[]Get
Errata Erratum Collection Item Package - List of packages affected by this erratum.
- References string
- Information describing how to find more information about. the erratum.
- []string
- List of CVEs applicable to this erratum.
- Repositories []string
- List of repository identifiers.
- Solution string
- Information describing how the erratum can be resolved.
- Synopsis string
- Summary description of the erratum.
- Time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- Time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity String - The severity for a security advisory, otherwise, null.
- advisory
Type String - The advisory type of the erratum.
- classification
Type String - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- description String
- Software source description.
- from String
- Information specifying from where the erratum was release.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- packages
List<Get
Errata Erratum Collection Item Package> - List of packages affected by this erratum.
- references String
- Information describing how to find more information about. the erratum.
- List<String>
- List of CVEs applicable to this erratum.
- repositories List<String>
- List of repository identifiers.
- solution String
- Information describing how the erratum can be resolved.
- synopsis String
- Summary description of the erratum.
- time
Issued String - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated String - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity string - The severity for a security advisory, otherwise, null.
- advisory
Type string - The advisory type of the erratum.
- classification
Type string - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- description string
- Software source description.
- from string
- Information specifying from where the erratum was release.
- name string
- The erratum name (such as ELSA-2023-34678).
- os
Families string[] - The OS families the package belongs to.
- packages
Get
Errata Erratum Collection Item Package[] - List of packages affected by this erratum.
- references string
- Information describing how to find more information about. the erratum.
- string[]
- List of CVEs applicable to this erratum.
- repositories string[]
- List of repository identifiers.
- solution string
- Information describing how the erratum can be resolved.
- synopsis string
- Summary description of the erratum.
- time
Issued string - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated string - The date and time the erratum was updated (in RFC 3339 format).
- advisory_
severity str - The severity for a security advisory, otherwise, null.
- advisory_
type str - The advisory type of the erratum.
- classification_
type str - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- description str
- Software source description.
- from_ str
- Information specifying from where the erratum was release.
- name str
- The erratum name (such as ELSA-2023-34678).
- os_
families Sequence[str] - The OS families the package belongs to.
- packages
Sequence[Get
Errata Erratum Collection Item Package] - List of packages affected by this erratum.
- references str
- Information describing how to find more information about. the erratum.
- Sequence[str]
- List of CVEs applicable to this erratum.
- repositories Sequence[str]
- List of repository identifiers.
- solution str
- Information describing how the erratum can be resolved.
- synopsis str
- Summary description of the erratum.
- time_
issued str - The date and time the erratum was issued (in RFC 3339 format).
- time_
updated str - The date and time the erratum was updated (in RFC 3339 format).
- advisory
Severity String - The severity for a security advisory, otherwise, null.
- advisory
Type String - The advisory type of the erratum.
- classification
Type String - Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
- description String
- Software source description.
- from String
- Information specifying from where the erratum was release.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- packages List<Property Map>
- List of packages affected by this erratum.
- references String
- Information describing how to find more information about. the erratum.
- List<String>
- List of CVEs applicable to this erratum.
- repositories List<String>
- List of repository identifiers.
- solution String
- Information describing how the erratum can be resolved.
- synopsis String
- Summary description of the erratum.
- time
Issued String - The date and time the erratum was issued (in RFC 3339 format).
- time
Updated String - The date and time the erratum was updated (in RFC 3339 format).
GetErrataErratumCollectionItemPackage
- Architecture string
- The architecture for which this software was built.
- Checksum string
- Checksum of the package.
- Checksum
Type string - Type of the checksum.
- Display
Name string - Software source name.
- Is
Latest bool - Indicates whether this package is the latest version.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families List<string> - The OS families the package belongs to.
- Software
Sources List<GetErrata Erratum Collection Item Package Software Source> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- Type string
- Type of the package.
- Version string
- Version of the package.
- Architecture string
- The architecture for which this software was built.
- Checksum string
- Checksum of the package.
- Checksum
Type string - Type of the checksum.
- Display
Name string - Software source name.
- Is
Latest bool - Indicates whether this package is the latest version.
- Name string
- The erratum name (such as ELSA-2023-34678).
- Os
Families []string - The OS families the package belongs to.
- Software
Sources []GetErrata Erratum Collection Item Package Software Source - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- Type string
- Type of the package.
- Version string
- Version of the package.
- architecture String
- The architecture for which this software was built.
- checksum String
- Checksum of the package.
- checksum
Type String - Type of the checksum.
- display
Name String - Software source name.
- is
Latest Boolean - Indicates whether this package is the latest version.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- software
Sources List<GetErrata Erratum Collection Item Package Software Source> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type String
- Type of the package.
- version String
- Version of the package.
- architecture string
- The architecture for which this software was built.
- checksum string
- Checksum of the package.
- checksum
Type string - Type of the checksum.
- display
Name string - Software source name.
- is
Latest boolean - Indicates whether this package is the latest version.
- name string
- The erratum name (such as ELSA-2023-34678).
- os
Families string[] - The OS families the package belongs to.
- software
Sources GetErrata Erratum Collection Item Package Software Source[] - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type string
- Type of the package.
- version string
- Version of the package.
- architecture str
- The architecture for which this software was built.
- checksum str
- Checksum of the package.
- checksum_
type str - Type of the checksum.
- display_
name str - Software source name.
- is_
latest bool - Indicates whether this package is the latest version.
- name str
- The erratum name (such as ELSA-2023-34678).
- os_
families Sequence[str] - The OS families the package belongs to.
- software_
sources Sequence[GetErrata Erratum Collection Item Package Software Source] - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type str
- Type of the package.
- version str
- Version of the package.
- architecture String
- The architecture for which this software was built.
- checksum String
- Checksum of the package.
- checksum
Type String - Type of the checksum.
- display
Name String - Software source name.
- is
Latest Boolean - Indicates whether this package is the latest version.
- name String
- The erratum name (such as ELSA-2023-34678).
- os
Families List<String> - The OS families the package belongs to.
- software
Sources List<Property Map> - List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
- type String
- Type of the package.
- version String
- Version of the package.
GetErrataErratumCollectionItemPackageSoftwareSource
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- Description string
- Software source description.
- Display
Name string - Software source name.
- Id string
- The OCID of the software source.
- Is
Mandatory boolFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- Software
Source stringType - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
- description string
- Software source description.
- display
Name string - Software source name.
- id string
- The OCID of the software source.
- is
Mandatory booleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source stringType - Type of the software source.
- description str
- Software source description.
- display_
name str - Software source name.
- id str
- The OCID of the software source.
- is_
mandatory_ boolfor_ autonomous_ linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software_
source_ strtype - Type of the software source.
- description String
- Software source description.
- display
Name String - Software source name.
- id String
- The OCID of the software source.
- is
Mandatory BooleanFor Autonomous Linux - Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can't unselect it.
- software
Source StringType - Type of the software source.
GetErrataFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.10.0
published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
