Class CryptoAssessment


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class CryptoAssessment
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A crypto assessment that provides insight into database cryptographic posture.

    The assessment evaluates data and network encryption, certificates, key management, backups, and quantum-readiness settings for a target database.
    Note: Objects should always be created or deserialized using the CryptoAssessment.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the CryptoAssessment.Builder, which maintain a set of all explicitly set fields called CryptoAssessment.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getId

        public String getId()
        The OCID of the crypto assessment.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The display name of the crypto assessment.
        Returns:
        the value
      • getDescription

        public String getDescription()
        The description of the crypto assessment.
        Returns:
        the value
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the crypto assessment.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the crypto assessment was created, in RFC3339 format.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time the crypto assessment was last updated, in RFC3339 format.
        Returns:
        the value
      • getTimeLastAssessed

        public Date getTimeLastAssessed()
        The date and time the crypto posture was last assessed, in RFC3339 format.
        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Details about the current lifecycle state of the crypto assessment.
        Returns:
        the value
      • getType

        public CryptoAssessment.Type getType()
        The type of this crypto assessment.
        Returns:
        the value
      • getTargetId

        public String getTargetId()
        The OCID of the target database.
        Returns:
        the value
      • getTargetDatabaseGroupId

        public String getTargetDatabaseGroupId()
        The OCID of the target database group.

        This is returned when targetType is TARGET_DATABASE_GROUP.

        Returns:
        the value
      • getDatabaseVersion

        public String getDatabaseVersion()
        The version of the assessed target database.
        Returns:
        the value
      • getDatabaseName

        public String getDatabaseName()
        The name of the assessed target database.
        Returns:
        the value
      • getDatabaseArchitecture

        public String getDatabaseArchitecture()
        The architecture of the assessed target database.
        Returns:
        the value
      • getCryptoProvider

        public String getCryptoProvider()
        Cryptographic provider and version information observed on the target.
        Returns:
        the value
      • getPostureCategory

        public CryptoPostureCategory getPostureCategory()
        Overall posture category for the crypto assessment.
        Returns:
        the value
      • getSchedule

        public String getSchedule()
        The schedule used to run the crypto assessment periodically.

        The schedule uses the format: ;

        For v1, the version-specific schedule format is:

        Specify either day-of-week for weekly schedules or day-of-month for monthly schedules. Do not specify both. For monthly schedules, day-of-month must be between 1 and 28. If the service generates a default monthly schedule for an assessment created on day 29, 30, or 31 of a month, it uses day 28.

        Returns:
        the value
      • getIssueCount

        public Integer getIssueCount()
        Number of crypto issues detected in this assessment.
        Returns:
        the value
      • getTargetsWithIssuesCount

        public Integer getTargetsWithIssuesCount()
        Number of assessed targets with one or more crypto issues.

        For a target database assessment, this value is 1 when the target has issues and 0 otherwise. For a target database group assessment, this value is the number of targets in the group that have issues.

        Returns:
        the value
      • getIsAssessmentScheduled

        public Boolean getIsAssessmentScheduled()
        Indicates whether scheduled execution is active for this crypto assessment.

        When false, the schedule value is retained but scheduled execution is paused.

        Returns:
        the value
      • getFreeformTags

        public Map<String,​String> getFreeformTags()
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags

        Example: {"Department": "Finance"}

        Returns:
        the value
      • getDefinedTags

        public Map<String,​Map<String,​Object>> getDefinedTags()
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}

        Returns:
        the value
      • getSystemTags

        public Map<String,​Map<String,​Object>> getSystemTags()
        System tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel