published on Friday, Sep 25, 2026 by Pulumi
published on Friday, Sep 25, 2026 by Pulumi
This data source provides the list of Crypto Assessment Certificates in Oracle Cloud Infrastructure Data Safe service.
Lists certificates discovered across targets in a compartment, including target, wallet location, issuer, subject, validity window, expiry bucket, public key type, and status so expiring or weak certificates can be identified and prioritized.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCryptoAssessmentCertificates = oci.datasafe.getCryptoAssessmentCertificates({
compartmentId: compartmentId,
accessLevel: cryptoAssessmentCertificateAccessLevel,
assessmentId: testAssessment.id,
assessmentType: cryptoAssessmentCertificateAssessmentType,
certificateTypes: cryptoAssessmentCertificateCertificateType,
compartmentIdInSubtree: cryptoAssessmentCertificateCompartmentIdInSubtree === "true",
daysToExpiry: Number(cryptoAssessmentCertificateDaysToExpiry),
expiryBucket: cryptoAssessmentCertificateExpiryBucket,
publicKeyTypes: cryptoAssessmentCertificatePublicKeyType,
signatureAlgorithms: cryptoAssessmentCertificateSignatureAlgorithm,
statuses: cryptoAssessmentCertificateStatus,
targetId: testTarget.id,
targetIds: cryptoAssessmentCertificateTargetIds,
});
import pulumi
import pulumi_oci as oci
test_crypto_assessment_certificates = oci.datasafe.get_crypto_assessment_certificates(compartment_id=compartment_id,
access_level=crypto_assessment_certificate_access_level,
assessment_id=test_assessment["id"],
assessment_type=crypto_assessment_certificate_assessment_type,
certificate_types=crypto_assessment_certificate_certificate_type,
compartment_id_in_subtree=crypto_assessment_certificate_compartment_id_in_subtree == "true",
days_to_expiry=int(crypto_assessment_certificate_days_to_expiry),
expiry_bucket=crypto_assessment_certificate_expiry_bucket,
public_key_types=crypto_assessment_certificate_public_key_type,
signature_algorithms=crypto_assessment_certificate_signature_algorithm,
statuses=crypto_assessment_certificate_status,
target_id=test_target["id"],
target_ids=crypto_assessment_certificate_target_ids)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetCryptoAssessmentCertificates(ctx, &datasafe.GetCryptoAssessmentCertificatesArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(cryptoAssessmentCertificateAccessLevel),
AssessmentId: pulumi.StringRef(testAssessment.Id),
AssessmentType: pulumi.StringRef(cryptoAssessmentCertificateAssessmentType),
CertificateTypes: pulumi.ToArray(cryptoAssessmentCertificateCertificateType),
CompartmentIdInSubtree: pulumi.BoolRef(cryptoAssessmentCertificateCompartmentIdInSubtree),
DaysToExpiry: pulumi.IntRef(cryptoAssessmentCertificateDaysToExpiry),
ExpiryBucket: pulumi.StringRef(cryptoAssessmentCertificateExpiryBucket),
PublicKeyTypes: pulumi.ToArray(cryptoAssessmentCertificatePublicKeyType),
SignatureAlgorithms: pulumi.ToArray(cryptoAssessmentCertificateSignatureAlgorithm),
Statuses: pulumi.ToArray(cryptoAssessmentCertificateStatus),
TargetId: pulumi.StringRef(testTarget.Id),
TargetIds: pulumi.ToArray(cryptoAssessmentCertificateTargetIds),
}, 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 testCryptoAssessmentCertificates = Oci.DataSafe.GetCryptoAssessmentCertificates.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = cryptoAssessmentCertificateAccessLevel,
AssessmentId = testAssessment.Id,
AssessmentType = cryptoAssessmentCertificateAssessmentType,
CertificateTypes = cryptoAssessmentCertificateCertificateType,
CompartmentIdInSubtree = cryptoAssessmentCertificateCompartmentIdInSubtree,
DaysToExpiry = cryptoAssessmentCertificateDaysToExpiry,
ExpiryBucket = cryptoAssessmentCertificateExpiryBucket,
PublicKeyTypes = cryptoAssessmentCertificatePublicKeyType,
SignatureAlgorithms = cryptoAssessmentCertificateSignatureAlgorithm,
Statuses = cryptoAssessmentCertificateStatus,
TargetId = testTarget.Id,
TargetIds = cryptoAssessmentCertificateTargetIds,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetCryptoAssessmentCertificatesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testCryptoAssessmentCertificates = DataSafeFunctions.getCryptoAssessmentCertificates(GetCryptoAssessmentCertificatesArgs.builder()
.compartmentId(compartmentId)
.accessLevel(cryptoAssessmentCertificateAccessLevel)
.assessmentId(testAssessment.id())
.assessmentType(cryptoAssessmentCertificateAssessmentType)
.certificateTypes(cryptoAssessmentCertificateCertificateType)
.compartmentIdInSubtree(cryptoAssessmentCertificateCompartmentIdInSubtree)
.daysToExpiry(cryptoAssessmentCertificateDaysToExpiry)
.expiryBucket(cryptoAssessmentCertificateExpiryBucket)
.publicKeyTypes(cryptoAssessmentCertificatePublicKeyType)
.signatureAlgorithms(cryptoAssessmentCertificateSignatureAlgorithm)
.statuses(cryptoAssessmentCertificateStatus)
.targetId(testTarget.id())
.targetIds(cryptoAssessmentCertificateTargetIds)
.build());
}
}
variables:
testCryptoAssessmentCertificates:
fn::invoke:
function: oci:DataSafe:getCryptoAssessmentCertificates
arguments:
compartmentId: ${compartmentId}
accessLevel: ${cryptoAssessmentCertificateAccessLevel}
assessmentId: ${testAssessment.id}
assessmentType: ${cryptoAssessmentCertificateAssessmentType}
certificateTypes: ${cryptoAssessmentCertificateCertificateType}
compartmentIdInSubtree: ${cryptoAssessmentCertificateCompartmentIdInSubtree}
daysToExpiry: ${cryptoAssessmentCertificateDaysToExpiry}
expiryBucket: ${cryptoAssessmentCertificateExpiryBucket}
publicKeyTypes: ${cryptoAssessmentCertificatePublicKeyType}
signatureAlgorithms: ${cryptoAssessmentCertificateSignatureAlgorithm}
statuses: ${cryptoAssessmentCertificateStatus}
targetId: ${testTarget.id}
targetIds: ${cryptoAssessmentCertificateTargetIds}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_datasafe_getcryptoassessmentcertificates" "testCryptoAssessmentCertificates" {
compartment_id = compartmentId
access_level = cryptoAssessmentCertificateAccessLevel
assessment_id = testAssessment.id
assessment_type = cryptoAssessmentCertificateAssessmentType
certificate_types = cryptoAssessmentCertificateCertificateType
compartment_id_in_subtree = cryptoAssessmentCertificateCompartmentIdInSubtree
days_to_expiry = cryptoAssessmentCertificateDaysToExpiry
expiry_bucket = cryptoAssessmentCertificateExpiryBucket
public_key_types = cryptoAssessmentCertificatePublicKeyType
signature_algorithms = cryptoAssessmentCertificateSignatureAlgorithm
statuses = cryptoAssessmentCertificateStatus
target_id = testTarget.id
target_ids = cryptoAssessmentCertificateTargetIds
}
Using getCryptoAssessmentCertificates
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 getCryptoAssessmentCertificates(args: GetCryptoAssessmentCertificatesArgs, opts?: InvokeOptions): Promise<GetCryptoAssessmentCertificatesResult>
function getCryptoAssessmentCertificatesOutput(args: GetCryptoAssessmentCertificatesOutputArgs, opts?: InvokeOutputOptions): Output<GetCryptoAssessmentCertificatesResult>def get_crypto_assessment_certificates(access_level: Optional[str] = None,
assessment_id: Optional[str] = None,
assessment_type: Optional[str] = None,
certificate_types: Optional[Sequence[str]] = None,
compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
days_to_expiry: Optional[int] = None,
expiry_bucket: Optional[str] = None,
filters: Optional[Sequence[GetCryptoAssessmentCertificatesFilter]] = None,
public_key_types: Optional[Sequence[str]] = None,
signature_algorithms: Optional[Sequence[str]] = None,
statuses: Optional[Sequence[str]] = None,
target_id: Optional[str] = None,
target_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetCryptoAssessmentCertificatesResult
def get_crypto_assessment_certificates_output(access_level: pulumi.Input[Optional[str]] = None,
assessment_id: pulumi.Input[Optional[str]] = None,
assessment_type: pulumi.Input[Optional[str]] = None,
certificate_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
compartment_id: pulumi.Input[Optional[str]] = None,
compartment_id_in_subtree: pulumi.Input[Optional[bool]] = None,
days_to_expiry: pulumi.Input[Optional[int]] = None,
expiry_bucket: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetCryptoAssessmentCertificatesFilterArgs]]]] = None,
public_key_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
signature_algorithms: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
statuses: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
target_id: pulumi.Input[Optional[str]] = None,
target_ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCryptoAssessmentCertificatesResult]func GetCryptoAssessmentCertificates(ctx *Context, args *GetCryptoAssessmentCertificatesArgs, opts ...InvokeOption) (*GetCryptoAssessmentCertificatesResult, error)
func GetCryptoAssessmentCertificatesOutput(ctx *Context, args *GetCryptoAssessmentCertificatesOutputArgs, opts ...InvokeOption) GetCryptoAssessmentCertificatesResultOutput> Note: This function is named GetCryptoAssessmentCertificates in the Go SDK.
public static class GetCryptoAssessmentCertificates
{
public static Task<GetCryptoAssessmentCertificatesResult> InvokeAsync(GetCryptoAssessmentCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCryptoAssessmentCertificatesResult> Invoke(GetCryptoAssessmentCertificatesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCryptoAssessmentCertificatesResult> Invoke(GetCryptoAssessmentCertificatesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCryptoAssessmentCertificatesResult> getCryptoAssessmentCertificates(GetCryptoAssessmentCertificatesArgs args, InvokeOptions options)
public static Output<GetCryptoAssessmentCertificatesResult> getCryptoAssessmentCertificates(GetCryptoAssessmentCertificatesArgs args, InvokeOptions options)
public static Output<GetCryptoAssessmentCertificatesResult> getCryptoAssessmentCertificates(GetCryptoAssessmentCertificatesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataSafe/getCryptoAssessmentCertificates:getCryptoAssessmentCertificates
arguments:
# arguments dictionarydata "oci_data_safe_get_crypto_assessment_certificates" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- Assessment
Type string - A filter to return targets from assessments of the specified type.
- Certificate
Types List<string> - A filter to return only certificates of any of the specified types.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Days
To intExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- Expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Filters
List<Get
Crypto Assessment Certificates Filter> - Public
Key List<string>Types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Signature
Algorithms List<string> - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- Statuses List<string>
- A filter to return only certificates with any of the specified statuses.
- Target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- Target
Ids List<string> - A filter to return only resources associated with any of the specified target OCIDs.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- Assessment
Type string - A filter to return targets from assessments of the specified type.
- Certificate
Types []string - A filter to return only certificates of any of the specified types.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Days
To intExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- Expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Filters
[]Get
Crypto Assessment Certificates Filter - Public
Key []stringTypes - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Signature
Algorithms []string - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- Statuses []string
- A filter to return only certificates with any of the specified statuses.
- Target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- Target
Ids []string - A filter to return only resources associated with any of the specified target OCIDs.
- compartment_
id string - A filter to return only resources that match the specified compartment OCID.
- access_
level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- assessment_
id string - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment_
type string - A filter to return targets from assessments of the specified type.
- certificate_
types list(string) - A filter to return only certificates of any of the specified types.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- days_
to_ numberexpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry_
bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters list(object)
- public_
key_ list(string)types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- signature_
algorithms list(string) - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- statuses list(string)
- A filter to return only certificates with any of the specified statuses.
- target_
id string - A filter to return only inventory rows associated with the specified target OCID.
- target_
ids list(string) - A filter to return only resources associated with any of the specified target OCIDs.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- assessment
Id String - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type String - A filter to return targets from assessments of the specified type.
- certificate
Types List<String> - A filter to return only certificates of any of the specified types.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- days
To IntegerExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket String - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
List<Get
Crypto Assessment Certificates Filter> - public
Key List<String>Types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- signature
Algorithms List<String> - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- statuses List<String>
- A filter to return only certificates with any of the specified statuses.
- target
Id String - A filter to return only inventory rows associated with the specified target OCID.
- target
Ids List<String> - A filter to return only resources associated with any of the specified target OCIDs.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type string - A filter to return targets from assessments of the specified type.
- certificate
Types string[] - A filter to return only certificates of any of the specified types.
- compartment
Id booleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- days
To numberExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
Get
Crypto Assessment Certificates Filter[] - public
Key string[]Types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- signature
Algorithms string[] - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- statuses string[]
- A filter to return only certificates with any of the specified statuses.
- target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- target
Ids string[] - A filter to return only resources associated with any of the specified target OCIDs.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- access_
level str - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- assessment_
id str - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment_
type str - A filter to return targets from assessments of the specified type.
- certificate_
types Sequence[str] - A filter to return only certificates of any of the specified types.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- days_
to_ intexpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry_
bucket str - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
Sequence[Get
Crypto Assessment Certificates Filter] - public_
key_ Sequence[str]types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- signature_
algorithms Sequence[str] - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- statuses Sequence[str]
- A filter to return only certificates with any of the specified statuses.
- target_
id str - A filter to return only inventory rows associated with the specified target OCID.
- target_
ids Sequence[str] - A filter to return only resources associated with any of the specified target OCIDs.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- assessment
Id String - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type String - A filter to return targets from assessments of the specified type.
- certificate
Types List<String> - A filter to return only certificates of any of the specified types.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- days
To NumberExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket String - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters List<Property Map>
- public
Key List<String>Types - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- signature
Algorithms List<String> - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- statuses List<String>
- A filter to return only certificates with any of the specified statuses.
- target
Id String - A filter to return only inventory rows associated with the specified target OCID.
- target
Ids List<String> - A filter to return only resources associated with any of the specified target OCIDs.
getCryptoAssessmentCertificates Result
The following output properties are available:
- Compartment
Id string - OCID of the compartment that contains the certificate row.
- Crypto
Assessment List<GetCertificate Collections Crypto Assessment Certificates Crypto Assessment Certificate Collection> - The list of crypto_assessment_certificate_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Assessment
Id string - OCID of the crypto assessment that discovered the certificate.
- Assessment
Type string - Type of the crypto assessment that discovered the certificate.
- Certificate
Types List<string> - Type of certificate.
- Compartment
Id boolIn Subtree - Days
To intExpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- Expiry
Bucket string - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Filters
List<Get
Crypto Assessment Certificates Filter> - Public
Key List<string>Types - Public key type and size.
- Signature
Algorithms List<string> - Signature algorithm used by the certificate.
- Statuses List<string>
- Certificate validity status.
- Target
Id string - OCID of the target database associated with the certificate.
- Target
Ids List<string>
- Compartment
Id string - OCID of the compartment that contains the certificate row.
- Crypto
Assessment []GetCertificate Collections Crypto Assessment Certificates Crypto Assessment Certificate Collection - The list of crypto_assessment_certificate_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Assessment
Id string - OCID of the crypto assessment that discovered the certificate.
- Assessment
Type string - Type of the crypto assessment that discovered the certificate.
- Certificate
Types []string - Type of certificate.
- Compartment
Id boolIn Subtree - Days
To intExpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- Expiry
Bucket string - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Filters
[]Get
Crypto Assessment Certificates Filter - Public
Key []stringTypes - Public key type and size.
- Signature
Algorithms []string - Signature algorithm used by the certificate.
- Statuses []string
- Certificate validity status.
- Target
Id string - OCID of the target database associated with the certificate.
- Target
Ids []string
- compartment_
id string - OCID of the compartment that contains the certificate row.
- crypto_
assessment_ list(object)certificate_ collections - The list of crypto_assessment_certificate_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- access_
level string - assessment_
id string - OCID of the crypto assessment that discovered the certificate.
- assessment_
type string - Type of the crypto assessment that discovered the certificate.
- certificate_
types list(string) - Type of certificate.
- compartment_
id_ boolin_ subtree - days_
to_ numberexpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- expiry_
bucket string - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters list(object)
- public_
key_ list(string)types - Public key type and size.
- signature_
algorithms list(string) - Signature algorithm used by the certificate.
- statuses list(string)
- Certificate validity status.
- target_
id string - OCID of the target database associated with the certificate.
- target_
ids list(string)
- compartment
Id String - OCID of the compartment that contains the certificate row.
- crypto
Assessment List<GetCertificate Collections Crypto Assessment Certificates Crypto Assessment Certificate Collection> - The list of crypto_assessment_certificate_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - assessment
Id String - OCID of the crypto assessment that discovered the certificate.
- assessment
Type String - Type of the crypto assessment that discovered the certificate.
- certificate
Types List<String> - Type of certificate.
- compartment
Id BooleanIn Subtree - days
To IntegerExpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- expiry
Bucket String - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
List<Get
Crypto Assessment Certificates Filter> - public
Key List<String>Types - Public key type and size.
- signature
Algorithms List<String> - Signature algorithm used by the certificate.
- statuses List<String>
- Certificate validity status.
- target
Id String - OCID of the target database associated with the certificate.
- target
Ids List<String>
- compartment
Id string - OCID of the compartment that contains the certificate row.
- crypto
Assessment GetCertificate Collections Crypto Assessment Certificates Crypto Assessment Certificate Collection[] - The list of crypto_assessment_certificate_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- access
Level string - assessment
Id string - OCID of the crypto assessment that discovered the certificate.
- assessment
Type string - Type of the crypto assessment that discovered the certificate.
- certificate
Types string[] - Type of certificate.
- compartment
Id booleanIn Subtree - days
To numberExpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- expiry
Bucket string - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
Get
Crypto Assessment Certificates Filter[] - public
Key string[]Types - Public key type and size.
- signature
Algorithms string[] - Signature algorithm used by the certificate.
- statuses string[]
- Certificate validity status.
- target
Id string - OCID of the target database associated with the certificate.
- target
Ids string[]
- compartment_
id str - OCID of the compartment that contains the certificate row.
- crypto_
assessment_ Sequence[Getcertificate_ collections Crypto Assessment Certificates Crypto Assessment Certificate Collection] - The list of crypto_assessment_certificate_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- access_
level str - assessment_
id str - OCID of the crypto assessment that discovered the certificate.
- assessment_
type str - Type of the crypto assessment that discovered the certificate.
- certificate_
types Sequence[str] - Type of certificate.
- compartment_
id_ boolin_ subtree - days_
to_ intexpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- expiry_
bucket str - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters
Sequence[Get
Crypto Assessment Certificates Filter] - public_
key_ Sequence[str]types - Public key type and size.
- signature_
algorithms Sequence[str] - Signature algorithm used by the certificate.
- statuses Sequence[str]
- Certificate validity status.
- target_
id str - OCID of the target database associated with the certificate.
- target_
ids Sequence[str]
- compartment
Id String - OCID of the compartment that contains the certificate row.
- crypto
Assessment List<Property Map>Certificate Collections - The list of crypto_assessment_certificate_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - assessment
Id String - OCID of the crypto assessment that discovered the certificate.
- assessment
Type String - Type of the crypto assessment that discovered the certificate.
- certificate
Types List<String> - Type of certificate.
- compartment
Id BooleanIn Subtree - days
To NumberExpiry - Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates.
- expiry
Bucket String - Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- filters List<Property Map>
- public
Key List<String>Types - Public key type and size.
- signature
Algorithms List<String> - Signature algorithm used by the certificate.
- statuses List<String>
- Certificate validity status.
- target
Id String - OCID of the target database associated with the certificate.
- target
Ids List<String>
Supporting Types
GetCryptoAssessmentCertificatesCryptoAssessmentCertificateCollection
- Items
List<Get
Crypto Assessment Certificates Crypto Assessment Certificate Collection Item> - Certificate summaries that match the request filters.
- Items
[]Get
Crypto Assessment Certificates Crypto Assessment Certificate Collection Item - Certificate summaries that match the request filters.
- items list(object)
- Certificate summaries that match the request filters.
- items
List<Get
Crypto Assessment Certificates Crypto Assessment Certificate Collection Item> - Certificate summaries that match the request filters.
- items
Get
Crypto Assessment Certificates Crypto Assessment Certificate Collection Item[] - Certificate summaries that match the request filters.
- items
Sequence[Get
Crypto Assessment Certificates Crypto Assessment Certificate Collection Item] - Certificate summaries that match the request filters.
- items List<Property Map>
- Certificate summaries that match the request filters.
GetCryptoAssessmentCertificatesCryptoAssessmentCertificateCollectionItem
- Age string
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- Assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- Assessment
Type string - A filter to return targets from assessments of the specified type.
- Certificate
Type string - A filter to return only certificates of any of the specified types.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Days
To intExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- Expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Issuer string
- Issuer of the certificate.
- Public
Key stringType - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Serial
Number string - Certificate serial number.
- Signature
Algorithm string - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- Status string
- A filter to return only certificates with any of the specified statuses.
- Subject string
- Subject of the certificate.
- Target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- Time
Last stringAssessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- Time
Valid stringFrom - Certificate validity start time in RFC3339 format.
- Time
Valid stringUntil - Certificate validity end time in RFC3339 format.
- Wallet
Location string - Wallet location where the certificate was discovered, if available.
- Age string
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- Assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- Assessment
Type string - A filter to return targets from assessments of the specified type.
- Certificate
Type string - A filter to return only certificates of any of the specified types.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Days
To intExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- Expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Issuer string
- Issuer of the certificate.
- Public
Key stringType - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Serial
Number string - Certificate serial number.
- Signature
Algorithm string - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- Status string
- A filter to return only certificates with any of the specified statuses.
- Subject string
- Subject of the certificate.
- Target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- Time
Last stringAssessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- Time
Valid stringFrom - Certificate validity start time in RFC3339 format.
- Time
Valid stringUntil - Certificate validity end time in RFC3339 format.
- Wallet
Location string - Wallet location where the certificate was discovered, if available.
- age string
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- assessment_
id string - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment_
type string - A filter to return targets from assessments of the specified type.
- certificate_
type string - A filter to return only certificates of any of the specified types.
- compartment_
id string - A filter to return only resources that match the specified compartment OCID.
- days_
to_ numberexpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry_
bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- issuer string
- Issuer of the certificate.
- public_
key_ stringtype - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- serial_
number string - Certificate serial number.
- signature_
algorithm string - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- status string
- A filter to return only certificates with any of the specified statuses.
- subject string
- Subject of the certificate.
- target_
id string - A filter to return only inventory rows associated with the specified target OCID.
- time_
last_ stringassessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- time_
valid_ stringfrom - Certificate validity start time in RFC3339 format.
- time_
valid_ stringuntil - Certificate validity end time in RFC3339 format.
- wallet_
location string - Wallet location where the certificate was discovered, if available.
- age String
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- assessment
Id String - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type String - A filter to return targets from assessments of the specified type.
- certificate
Type String - A filter to return only certificates of any of the specified types.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- days
To IntegerExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket String - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- issuer String
- Issuer of the certificate.
- public
Key StringType - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- serial
Number String - Certificate serial number.
- signature
Algorithm String - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- status String
- A filter to return only certificates with any of the specified statuses.
- subject String
- Subject of the certificate.
- target
Id String - A filter to return only inventory rows associated with the specified target OCID.
- time
Last StringAssessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- time
Valid StringFrom - Certificate validity start time in RFC3339 format.
- time
Valid StringUntil - Certificate validity end time in RFC3339 format.
- wallet
Location String - Wallet location where the certificate was discovered, if available.
- age string
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- assessment
Id string - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type string - A filter to return targets from assessments of the specified type.
- certificate
Type string - A filter to return only certificates of any of the specified types.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- days
To numberExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket string - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- issuer string
- Issuer of the certificate.
- public
Key stringType - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- serial
Number string - Certificate serial number.
- signature
Algorithm string - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- status string
- A filter to return only certificates with any of the specified statuses.
- subject string
- Subject of the certificate.
- target
Id string - A filter to return only inventory rows associated with the specified target OCID.
- time
Last stringAssessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- time
Valid stringFrom - Certificate validity start time in RFC3339 format.
- time
Valid stringUntil - Certificate validity end time in RFC3339 format.
- wallet
Location string - Wallet location where the certificate was discovered, if available.
- age str
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- assessment_
id str - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment_
type str - A filter to return targets from assessments of the specified type.
- certificate_
type str - A filter to return only certificates of any of the specified types.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- days_
to_ intexpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry_
bucket str - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- issuer str
- Issuer of the certificate.
- public_
key_ strtype - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- serial_
number str - Certificate serial number.
- signature_
algorithm str - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- status str
- A filter to return only certificates with any of the specified statuses.
- subject str
- Subject of the certificate.
- target_
id str - A filter to return only inventory rows associated with the specified target OCID.
- time_
last_ strassessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- time_
valid_ strfrom - Certificate validity start time in RFC3339 format.
- time_
valid_ struntil - Certificate validity end time in RFC3339 format.
- wallet_
location str - Wallet location where the certificate was discovered, if available.
- age String
- Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date.
- assessment
Id String - A filter to return only resources associated with the specified crypto assessment OCID.
- assessment
Type String - A filter to return targets from assessments of the specified type.
- certificate
Type String - A filter to return only certificates of any of the specified types.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- days
To NumberExpiry - A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days. Negative values are allowed and filter certificates that expired on or before that many days ago.
- expiry
Bucket String - A filter to return only certificates in the specified expiry bucket. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- issuer String
- Issuer of the certificate.
- public
Key StringType - A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- serial
Number String - Certificate serial number.
- signature
Algorithm String - A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- status String
- A filter to return only certificates with any of the specified statuses.
- subject String
- Subject of the certificate.
- target
Id String - A filter to return only inventory rows associated with the specified target OCID.
- time
Last StringAssessed - The date and time the associated crypto assessment was last assessed, in RFC3339 format.
- time
Valid StringFrom - Certificate validity start time in RFC3339 format.
- time
Valid StringUntil - Certificate validity end time in RFC3339 format.
- wallet
Location String - Wallet location where the certificate was discovered, if available.
GetCryptoAssessmentCertificatesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Friday, Sep 25, 2026 by Pulumi