Profile

class oci.data_safe.models.Profile(**kwargs)

Bases: object

The comprehensive information about the user profiles available on a given target. It includes details such as profile name, failed login attempts, password reuse time, password verification function, password verification function implementation code snippet, sessions per user, connect time inactive account time, password lock time, cpu usage per session, target id, and compartment id.

Methods

__init__(**kwargs) Initializes a new Profile object with values from keyword arguments.

Attributes

compartment_id Gets the compartment_id of this Profile.
composite_limit Gets the composite_limit of this Profile.
connect_time Gets the connect_time of this Profile.
cpu_per_call Gets the cpu_per_call of this Profile.
cpu_per_session Gets the cpu_per_session of this Profile.
defined_tags Gets the defined_tags of this Profile.
failed_login_attempts Gets the failed_login_attempts of this Profile.
freeform_tags Gets the freeform_tags of this Profile.
idle_time Gets the idle_time of this Profile.
inactive_account_time Gets the inactive_account_time of this Profile.
is_user_created Gets the is_user_created of this Profile.
logical_reads_per_call Gets the logical_reads_per_call of this Profile.
logical_reads_per_session Gets the logical_reads_per_session of this Profile.
password_grace_time Gets the password_grace_time of this Profile.
password_life_time Gets the password_life_time of this Profile.
password_lock_time Gets the password_lock_time of this Profile.
password_reuse_max Gets the password_reuse_max of this Profile.
password_reuse_time Gets the password_reuse_time of this Profile.
password_rollover_time Gets the password_rollover_time of this Profile.
password_verification_function Gets the password_verification_function of this Profile.
password_verification_function_details Gets the password_verification_function_details of this Profile.
private_sga Gets the private_sga of this Profile.
profile_name [Required] Gets the profile_name of this Profile.
sessions_per_user Gets the sessions_per_user of this Profile.
target_id Gets the target_id of this Profile.
user_assessment_id [Required] Gets the user_assessment_id of this Profile.
user_count Gets the user_count of this Profile.
__init__(**kwargs)

Initializes a new Profile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • user_assessment_id (str) – The value to assign to the user_assessment_id property of this Profile.
  • compartment_id (str) – The value to assign to the compartment_id property of this Profile.
  • target_id (str) – The value to assign to the target_id property of this Profile.
  • profile_name (str) – The value to assign to the profile_name property of this Profile.
  • user_count (int) – The value to assign to the user_count property of this Profile.
  • failed_login_attempts (str) – The value to assign to the failed_login_attempts property of this Profile.
  • password_verification_function (str) – The value to assign to the password_verification_function property of this Profile.
  • password_verification_function_details (str) – The value to assign to the password_verification_function_details property of this Profile.
  • password_lock_time (str) – The value to assign to the password_lock_time property of this Profile.
  • password_life_time (str) – The value to assign to the password_life_time property of this Profile.
  • password_reuse_max (str) – The value to assign to the password_reuse_max property of this Profile.
  • password_reuse_time (str) – The value to assign to the password_reuse_time property of this Profile.
  • password_rollover_time (str) – The value to assign to the password_rollover_time property of this Profile.
  • password_grace_time (str) – The value to assign to the password_grace_time property of this Profile.
  • is_user_created (bool) – The value to assign to the is_user_created property of this Profile.
  • sessions_per_user (str) – The value to assign to the sessions_per_user property of this Profile.
  • inactive_account_time (str) – The value to assign to the inactive_account_time property of this Profile.
  • connect_time (str) – The value to assign to the connect_time property of this Profile.
  • idle_time (str) – The value to assign to the idle_time property of this Profile.
  • composite_limit (str) – The value to assign to the composite_limit property of this Profile.
  • cpu_per_call (str) – The value to assign to the cpu_per_call property of this Profile.
  • cpu_per_session (str) – The value to assign to the cpu_per_session property of this Profile.
  • logical_reads_per_call (str) – The value to assign to the logical_reads_per_call property of this Profile.
  • logical_reads_per_session (str) – The value to assign to the logical_reads_per_session property of this Profile.
  • private_sga (str) – The value to assign to the private_sga property of this Profile.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Profile.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Profile.
compartment_id

Gets the compartment_id of this Profile. The OCID of the compartment that contains the user assessment.

Returns:The compartment_id of this Profile.
Return type:str
composite_limit

Gets the composite_limit of this Profile. Specify the total resource cost for a session, expressed in service units. Oracle Database calculates the total service units as a weighted sum of CPU_PER_SESSION, CONNECT_TIME, LOGICAL_READS_PER_SESSION, and PRIVATE_SGA.

Returns:The composite_limit of this Profile.
Return type:str
connect_time

Gets the connect_time of this Profile. Specify the total elapsed time limit for a session, expressed in minutes.

Returns:The connect_time of this Profile.
Return type:str
cpu_per_call

Gets the cpu_per_call of this Profile. Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds.

Returns:The cpu_per_call of this Profile.
Return type:str
cpu_per_session

Gets the cpu_per_session of this Profile. Specify the CPU time limit for a session, expressed in hundredth of seconds.

Returns:The cpu_per_session of this Profile.
Return type:str
defined_tags

Gets the defined_tags of this Profile. 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 defined_tags of this Profile.
Return type:dict(str, dict(str, object))
failed_login_attempts

Gets the failed_login_attempts of this Profile. Maximum times the user is allowed in fail login before the user account is locked.

Returns:The failed_login_attempts of this Profile.
Return type:str
freeform_tags

Gets the freeform_tags of this Profile. 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 freeform_tags of this Profile.
Return type:dict(str, str)
idle_time

Gets the idle_time of this Profile. Specify the permitted periods of continuous inactive time during a session, expressed in minutes.

Returns:The idle_time of this Profile.
Return type:str
inactive_account_time

Gets the inactive_account_time of this Profile. The permitted periods of continuous inactive time during a session, expressed in minutes. Long-running queries and other operations are not subject to this limit.

Returns:The inactive_account_time of this Profile.
Return type:str
is_user_created

Gets the is_user_created of this Profile. Represents if the profile is created by user.

Returns:The is_user_created of this Profile.
Return type:bool
logical_reads_per_call

Gets the logical_reads_per_call of this Profile. Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch).

Returns:The logical_reads_per_call of this Profile.
Return type:str
logical_reads_per_session

Gets the logical_reads_per_session of this Profile. Specify the permitted number of data blocks read in a session, including blocks read from memory and disk.

Returns:The logical_reads_per_session of this Profile.
Return type:str
password_grace_time

Gets the password_grace_time of this Profile. Number of grace days for user to change password.

Returns:The password_grace_time of this Profile.
Return type:str
password_life_time

Gets the password_life_time of this Profile. Number of days the password is valid before expiry.

Returns:The password_life_time of this Profile.
Return type:str
password_lock_time

Gets the password_lock_time of this Profile. Number of days the user account remains locked after failed login.

Returns:The password_lock_time of this Profile.
Return type:str
password_reuse_max

Gets the password_reuse_max of this Profile. Number of day after the user can use the already used password.

Returns:The password_reuse_max of this Profile.
Return type:str
password_reuse_time

Gets the password_reuse_time of this Profile. Number of days before which a password cannot be reused.

Returns:The password_reuse_time of this Profile.
Return type:str
password_rollover_time

Gets the password_rollover_time of this Profile. Number of days the password rollover is allowed. Minimum value can be 1/24 day (1 hour) to 60 days.

Returns:The password_rollover_time of this Profile.
Return type:str
password_verification_function

Gets the password_verification_function of this Profile. Name of the PL/SQL that can be used for password verification.

Returns:The password_verification_function of this Profile.
Return type:str
password_verification_function_details

Gets the password_verification_function_details of this Profile. Details about the PL/SQL that can be used for password verification.

Returns:The password_verification_function_details of this Profile.
Return type:str
private_sga

Gets the private_sga of this Profile. Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA), expressed in bytes.

Returns:The private_sga of this Profile.
Return type:str
profile_name

[Required] Gets the profile_name of this Profile. The name of the profile.

Returns:The profile_name of this Profile.
Return type:str
sessions_per_user

Gets the sessions_per_user of this Profile. Specify the number of concurrent sessions to which you want to limit the user.

Returns:The sessions_per_user of this Profile.
Return type:str
target_id

Gets the target_id of this Profile. The OCID of the target database.

Returns:The target_id of this Profile.
Return type:str
user_assessment_id

[Required] Gets the user_assessment_id of this Profile. The OCID of the user assessment corresponding to the target under consideration.

Returns:The user_assessment_id of this Profile.
Return type:str
user_count

Gets the user_count of this Profile. The number of users that have a given profile.

Returns:The user_count of this Profile.
Return type:int