/** * Data Safe API * APIs for using Oracle Data Safe. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The details used to save a security assessment. */ export interface CreateSecurityAssessmentDetails { /** * The OCID of the compartment that contains the security assessment. */ "compartmentId": string; /** * The display name of the security assessment. */ "displayName"?: string; /** * Description of the security assessment. */ "description"?: string; /** * The OCID of the target database or target database group on which security assessment is to be run. */ "targetId"?: string; /** * The type of security assessment resource whether it is individual or group resource. For individual target use type TARGET_DATABASE and for group resource use type TARGET_DATABASE_GROUP. If not provided, TARGET_DATABASE would be used as default value. */ "targetType"?: model.SecurityAssessmentTargetType; /** * The type of the security assessment */ "type"?: CreateSecurityAssessmentDetails.Type; /** * The OCID of the template assessment. It will be required while creating the template baseline assessment. */ "templateAssessmentId"?: string; /** * The OCID of the security assessment. The assessment should be of type SAVED. * It will be required while creating the template baseline assessment for individual targets to fetch the detailed information from an existing security assessment. * */ "baseSecurityAssessmentId"?: string; /** * Indicates whether the assessment is scheduled to run. */ "isAssessmentScheduled"?: boolean; /** * To schedule the assessment for running periodically, specify the schedule in this attribute. * Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. * Format - * ; *

Allowed version strings - \"v1\" * v1's version specific schedule - * Each of the above fields potentially introduce constraints. A workrequest is created only * when clock time satisfies all the constraints. Constraints introduced: * 1. seconds = (So, the allowed range for is [0, 59]) * 2. minutes = (So, the allowed range for is [0, 59]) * 3. hours = (So, the allowed range for is [0, 23]) * can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) * 4. No constraint introduced when it is '*'. When not, day of week must equal the given value * can be either '*' (without quotes or a number between 1 and 28) * 5. No constraint introduced when it is '*'. When not, day of month must equal the given value * */ "schedule"?: string; /** * 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](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) *

Example: {@code {\"Department\": \"Finance\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) * Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace CreateSecurityAssessmentDetails { enum Type { Latest = "LATEST", Saved = "SAVED", SaveSchedule = "SAVE_SCHEDULE", Compartment = "COMPARTMENT", Template = "TEMPLATE", TemplateBaseline = "TEMPLATE_BASELINE" } function getJsonObj(obj: CreateSecurityAssessmentDetails): object; function getDeserializedJsonObj(obj: CreateSecurityAssessmentDetails): object; }