1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getUserAssessmentUserAnalytics
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DataSafe.getUserAssessmentUserAnalytics

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of User Assessment User Analytics in Oracle Cloud Infrastructure Data Safe service.

    Gets a list of aggregated user details from the specified user assessment. This provides information about the overall state. of database user security. For example, the user details include how many users have the DBA role and how many users are in the critical category. This data is especially useful content for dashboards or to support analytics.

    When you perform the ListUserAnalytics operation, if the parameter compartmentIdInSubtree is set to “true,” and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then “Not Authorized” is returned.

    The parameter compartmentIdInSubtree applies when you perform ListUserAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.

    To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testUserAssessmentUserAnalytics = oci.DataSafe.getUserAssessmentUserAnalytics({
        userAssessmentId: oci_data_safe_user_assessment.test_user_assessment.id,
        accessLevel: _var.user_assessment_user_analytic_access_level,
        accountStatus: _var.user_assessment_user_analytic_account_status,
        authenticationType: _var.user_assessment_user_analytic_authentication_type,
        compartmentIdInSubtree: _var.user_assessment_user_analytic_compartment_id_in_subtree,
        targetId: oci_cloud_guard_target.test_target.id,
        timeLastLoginGreaterThanOrEqualTo: _var.user_assessment_user_analytic_time_last_login_greater_than_or_equal_to,
        timeLastLoginLessThan: _var.user_assessment_user_analytic_time_last_login_less_than,
        timePasswordLastChangedGreaterThanOrEqualTo: _var.user_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to,
        timePasswordLastChangedLessThan: _var.user_assessment_user_analytic_time_password_last_changed_less_than,
        timeUserCreatedGreaterThanOrEqualTo: _var.user_assessment_user_analytic_time_user_created_greater_than_or_equal_to,
        timeUserCreatedLessThan: _var.user_assessment_user_analytic_time_user_created_less_than,
        userCategory: _var.user_assessment_user_analytic_user_category,
        userKey: _var.user_assessment_user_analytic_user_key,
        userName: oci_identity_user.test_user.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_user_assessment_user_analytics = oci.DataSafe.get_user_assessment_user_analytics(user_assessment_id=oci_data_safe_user_assessment["test_user_assessment"]["id"],
        access_level=var["user_assessment_user_analytic_access_level"],
        account_status=var["user_assessment_user_analytic_account_status"],
        authentication_type=var["user_assessment_user_analytic_authentication_type"],
        compartment_id_in_subtree=var["user_assessment_user_analytic_compartment_id_in_subtree"],
        target_id=oci_cloud_guard_target["test_target"]["id"],
        time_last_login_greater_than_or_equal_to=var["user_assessment_user_analytic_time_last_login_greater_than_or_equal_to"],
        time_last_login_less_than=var["user_assessment_user_analytic_time_last_login_less_than"],
        time_password_last_changed_greater_than_or_equal_to=var["user_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to"],
        time_password_last_changed_less_than=var["user_assessment_user_analytic_time_password_last_changed_less_than"],
        time_user_created_greater_than_or_equal_to=var["user_assessment_user_analytic_time_user_created_greater_than_or_equal_to"],
        time_user_created_less_than=var["user_assessment_user_analytic_time_user_created_less_than"],
        user_category=var["user_assessment_user_analytic_user_category"],
        user_key=var["user_assessment_user_analytic_user_key"],
        user_name=oci_identity_user["test_user"]["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetUserAssessmentUserAnalytics(ctx, &datasafe.GetUserAssessmentUserAnalyticsArgs{
    			UserAssessmentId:                  oci_data_safe_user_assessment.Test_user_assessment.Id,
    			AccessLevel:                       pulumi.StringRef(_var.User_assessment_user_analytic_access_level),
    			AccountStatus:                     pulumi.StringRef(_var.User_assessment_user_analytic_account_status),
    			AuthenticationType:                pulumi.StringRef(_var.User_assessment_user_analytic_authentication_type),
    			CompartmentIdInSubtree:            pulumi.BoolRef(_var.User_assessment_user_analytic_compartment_id_in_subtree),
    			TargetId:                          pulumi.StringRef(oci_cloud_guard_target.Test_target.Id),
    			TimeLastLoginGreaterThanOrEqualTo: pulumi.StringRef(_var.User_assessment_user_analytic_time_last_login_greater_than_or_equal_to),
    			TimeLastLoginLessThan:             pulumi.StringRef(_var.User_assessment_user_analytic_time_last_login_less_than),
    			TimePasswordLastChangedGreaterThanOrEqualTo: pulumi.StringRef(_var.User_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to),
    			TimePasswordLastChangedLessThan:             pulumi.StringRef(_var.User_assessment_user_analytic_time_password_last_changed_less_than),
    			TimeUserCreatedGreaterThanOrEqualTo:         pulumi.StringRef(_var.User_assessment_user_analytic_time_user_created_greater_than_or_equal_to),
    			TimeUserCreatedLessThan:                     pulumi.StringRef(_var.User_assessment_user_analytic_time_user_created_less_than),
    			UserCategory:                                pulumi.StringRef(_var.User_assessment_user_analytic_user_category),
    			UserKey:                                     pulumi.StringRef(_var.User_assessment_user_analytic_user_key),
    			UserName:                                    pulumi.StringRef(oci_identity_user.Test_user.Name),
    		}, 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 testUserAssessmentUserAnalytics = Oci.DataSafe.GetUserAssessmentUserAnalytics.Invoke(new()
        {
            UserAssessmentId = oci_data_safe_user_assessment.Test_user_assessment.Id,
            AccessLevel = @var.User_assessment_user_analytic_access_level,
            AccountStatus = @var.User_assessment_user_analytic_account_status,
            AuthenticationType = @var.User_assessment_user_analytic_authentication_type,
            CompartmentIdInSubtree = @var.User_assessment_user_analytic_compartment_id_in_subtree,
            TargetId = oci_cloud_guard_target.Test_target.Id,
            TimeLastLoginGreaterThanOrEqualTo = @var.User_assessment_user_analytic_time_last_login_greater_than_or_equal_to,
            TimeLastLoginLessThan = @var.User_assessment_user_analytic_time_last_login_less_than,
            TimePasswordLastChangedGreaterThanOrEqualTo = @var.User_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to,
            TimePasswordLastChangedLessThan = @var.User_assessment_user_analytic_time_password_last_changed_less_than,
            TimeUserCreatedGreaterThanOrEqualTo = @var.User_assessment_user_analytic_time_user_created_greater_than_or_equal_to,
            TimeUserCreatedLessThan = @var.User_assessment_user_analytic_time_user_created_less_than,
            UserCategory = @var.User_assessment_user_analytic_user_category,
            UserKey = @var.User_assessment_user_analytic_user_key,
            UserName = oci_identity_user.Test_user.Name,
        });
    
    });
    
    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.GetUserAssessmentUserAnalyticsArgs;
    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 testUserAssessmentUserAnalytics = DataSafeFunctions.getUserAssessmentUserAnalytics(GetUserAssessmentUserAnalyticsArgs.builder()
                .userAssessmentId(oci_data_safe_user_assessment.test_user_assessment().id())
                .accessLevel(var_.user_assessment_user_analytic_access_level())
                .accountStatus(var_.user_assessment_user_analytic_account_status())
                .authenticationType(var_.user_assessment_user_analytic_authentication_type())
                .compartmentIdInSubtree(var_.user_assessment_user_analytic_compartment_id_in_subtree())
                .targetId(oci_cloud_guard_target.test_target().id())
                .timeLastLoginGreaterThanOrEqualTo(var_.user_assessment_user_analytic_time_last_login_greater_than_or_equal_to())
                .timeLastLoginLessThan(var_.user_assessment_user_analytic_time_last_login_less_than())
                .timePasswordLastChangedGreaterThanOrEqualTo(var_.user_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to())
                .timePasswordLastChangedLessThan(var_.user_assessment_user_analytic_time_password_last_changed_less_than())
                .timeUserCreatedGreaterThanOrEqualTo(var_.user_assessment_user_analytic_time_user_created_greater_than_or_equal_to())
                .timeUserCreatedLessThan(var_.user_assessment_user_analytic_time_user_created_less_than())
                .userCategory(var_.user_assessment_user_analytic_user_category())
                .userKey(var_.user_assessment_user_analytic_user_key())
                .userName(oci_identity_user.test_user().name())
                .build());
    
        }
    }
    
    variables:
      testUserAssessmentUserAnalytics:
        fn::invoke:
          Function: oci:DataSafe:getUserAssessmentUserAnalytics
          Arguments:
            userAssessmentId: ${oci_data_safe_user_assessment.test_user_assessment.id}
            accessLevel: ${var.user_assessment_user_analytic_access_level}
            accountStatus: ${var.user_assessment_user_analytic_account_status}
            authenticationType: ${var.user_assessment_user_analytic_authentication_type}
            compartmentIdInSubtree: ${var.user_assessment_user_analytic_compartment_id_in_subtree}
            targetId: ${oci_cloud_guard_target.test_target.id}
            timeLastLoginGreaterThanOrEqualTo: ${var.user_assessment_user_analytic_time_last_login_greater_than_or_equal_to}
            timeLastLoginLessThan: ${var.user_assessment_user_analytic_time_last_login_less_than}
            timePasswordLastChangedGreaterThanOrEqualTo: ${var.user_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to}
            timePasswordLastChangedLessThan: ${var.user_assessment_user_analytic_time_password_last_changed_less_than}
            timeUserCreatedGreaterThanOrEqualTo: ${var.user_assessment_user_analytic_time_user_created_greater_than_or_equal_to}
            timeUserCreatedLessThan: ${var.user_assessment_user_analytic_time_user_created_less_than}
            userCategory: ${var.user_assessment_user_analytic_user_category}
            userKey: ${var.user_assessment_user_analytic_user_key}
            userName: ${oci_identity_user.test_user.name}
    

    Using getUserAssessmentUserAnalytics

    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 getUserAssessmentUserAnalytics(args: GetUserAssessmentUserAnalyticsArgs, opts?: InvokeOptions): Promise<GetUserAssessmentUserAnalyticsResult>
    function getUserAssessmentUserAnalyticsOutput(args: GetUserAssessmentUserAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetUserAssessmentUserAnalyticsResult>
    def get_user_assessment_user_analytics(access_level: Optional[str] = None,
                                           account_status: Optional[str] = None,
                                           authentication_type: Optional[str] = None,
                                           compartment_id_in_subtree: Optional[bool] = None,
                                           filters: Optional[Sequence[_datasafe.GetUserAssessmentUserAnalyticsFilter]] = None,
                                           target_id: Optional[str] = None,
                                           time_last_login_greater_than_or_equal_to: Optional[str] = None,
                                           time_last_login_less_than: Optional[str] = None,
                                           time_password_last_changed_greater_than_or_equal_to: Optional[str] = None,
                                           time_password_last_changed_less_than: Optional[str] = None,
                                           time_user_created_greater_than_or_equal_to: Optional[str] = None,
                                           time_user_created_less_than: Optional[str] = None,
                                           user_assessment_id: Optional[str] = None,
                                           user_category: Optional[str] = None,
                                           user_key: Optional[str] = None,
                                           user_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetUserAssessmentUserAnalyticsResult
    def get_user_assessment_user_analytics_output(access_level: Optional[pulumi.Input[str]] = None,
                                           account_status: Optional[pulumi.Input[str]] = None,
                                           authentication_type: Optional[pulumi.Input[str]] = None,
                                           compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetUserAssessmentUserAnalyticsFilterArgs]]]] = None,
                                           target_id: Optional[pulumi.Input[str]] = None,
                                           time_last_login_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                           time_last_login_less_than: Optional[pulumi.Input[str]] = None,
                                           time_password_last_changed_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                           time_password_last_changed_less_than: Optional[pulumi.Input[str]] = None,
                                           time_user_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                           time_user_created_less_than: Optional[pulumi.Input[str]] = None,
                                           user_assessment_id: Optional[pulumi.Input[str]] = None,
                                           user_category: Optional[pulumi.Input[str]] = None,
                                           user_key: Optional[pulumi.Input[str]] = None,
                                           user_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetUserAssessmentUserAnalyticsResult]
    func GetUserAssessmentUserAnalytics(ctx *Context, args *GetUserAssessmentUserAnalyticsArgs, opts ...InvokeOption) (*GetUserAssessmentUserAnalyticsResult, error)
    func GetUserAssessmentUserAnalyticsOutput(ctx *Context, args *GetUserAssessmentUserAnalyticsOutputArgs, opts ...InvokeOption) GetUserAssessmentUserAnalyticsResultOutput

    > Note: This function is named GetUserAssessmentUserAnalytics in the Go SDK.

    public static class GetUserAssessmentUserAnalytics 
    {
        public static Task<GetUserAssessmentUserAnalyticsResult> InvokeAsync(GetUserAssessmentUserAnalyticsArgs args, InvokeOptions? opts = null)
        public static Output<GetUserAssessmentUserAnalyticsResult> Invoke(GetUserAssessmentUserAnalyticsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserAssessmentUserAnalyticsResult> getUserAssessmentUserAnalytics(GetUserAssessmentUserAnalyticsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getUserAssessmentUserAnalytics:getUserAssessmentUserAnalytics
      arguments:
        # arguments dictionary

    The following arguments are supported:

    UserAssessmentId string
    The OCID of the user assessment.
    AccessLevel 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.
    AccountStatus string
    A filter to return only items that match the specified account status.
    AuthenticationType string
    A filter to return only items that match the specified authentication type.
    CompartmentIdInSubtree bool
    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.
    Filters List<GetUserAssessmentUserAnalyticsFilter>
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeLastLoginGreaterThanOrEqualTo string

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimeLastLoginLessThan string
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedGreaterThanOrEqualTo string

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimePasswordLastChangedLessThan string

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimeUserCreatedGreaterThanOrEqualTo string
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    TimeUserCreatedLessThan string
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    UserCategory string
    A filter to return only items that match the specified user category.
    UserKey string
    A filter to return only items that match the specified user key.
    UserName string
    A filter to return only items that match the specified user name.
    UserAssessmentId string
    The OCID of the user assessment.
    AccessLevel 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.
    AccountStatus string
    A filter to return only items that match the specified account status.
    AuthenticationType string
    A filter to return only items that match the specified authentication type.
    CompartmentIdInSubtree bool
    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.
    Filters []GetUserAssessmentUserAnalyticsFilter
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeLastLoginGreaterThanOrEqualTo string

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimeLastLoginLessThan string
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    TimePasswordLastChangedGreaterThanOrEqualTo string

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimePasswordLastChangedLessThan string

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    TimeUserCreatedGreaterThanOrEqualTo string
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    TimeUserCreatedLessThan string
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    UserCategory string
    A filter to return only items that match the specified user category.
    UserKey string
    A filter to return only items that match the specified user key.
    UserName string
    A filter to return only items that match the specified user name.
    userAssessmentId String
    The OCID of the user assessment.
    accessLevel 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.
    accountStatus String
    A filter to return only items that match the specified account status.
    authenticationType String
    A filter to return only items that match the specified authentication type.
    compartmentIdInSubtree Boolean
    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.
    filters List<GetUserAssessmentUserAnalyticsFilter>
    targetId String
    A filter to return only items related to a specific target OCID.
    timeLastLoginGreaterThanOrEqualTo String

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeLastLoginLessThan String
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timePasswordLastChangedGreaterThanOrEqualTo String

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timePasswordLastChangedLessThan String

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeUserCreatedGreaterThanOrEqualTo String
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timeUserCreatedLessThan String
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    userCategory String
    A filter to return only items that match the specified user category.
    userKey String
    A filter to return only items that match the specified user key.
    userName String
    A filter to return only items that match the specified user name.
    userAssessmentId string
    The OCID of the user assessment.
    accessLevel 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.
    accountStatus string
    A filter to return only items that match the specified account status.
    authenticationType string
    A filter to return only items that match the specified authentication type.
    compartmentIdInSubtree boolean
    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.
    filters GetUserAssessmentUserAnalyticsFilter[]
    targetId string
    A filter to return only items related to a specific target OCID.
    timeLastLoginGreaterThanOrEqualTo string

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeLastLoginLessThan string
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timePasswordLastChangedGreaterThanOrEqualTo string

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timePasswordLastChangedLessThan string

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeUserCreatedGreaterThanOrEqualTo string
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timeUserCreatedLessThan string
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    userCategory string
    A filter to return only items that match the specified user category.
    userKey string
    A filter to return only items that match the specified user key.
    userName string
    A filter to return only items that match the specified user name.
    user_assessment_id str
    The OCID of the user assessment.
    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.
    account_status str
    A filter to return only items that match the specified account status.
    authentication_type str
    A filter to return only items that match the specified authentication type.
    compartment_id_in_subtree bool
    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.
    filters Sequence[datasafe.GetUserAssessmentUserAnalyticsFilter]
    target_id str
    A filter to return only items related to a specific target OCID.
    time_last_login_greater_than_or_equal_to str

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    time_last_login_less_than str
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    time_password_last_changed_greater_than_or_equal_to str

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    time_password_last_changed_less_than str

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    time_user_created_greater_than_or_equal_to str
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    time_user_created_less_than str
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    user_category str
    A filter to return only items that match the specified user category.
    user_key str
    A filter to return only items that match the specified user key.
    user_name str
    A filter to return only items that match the specified user name.
    userAssessmentId String
    The OCID of the user assessment.
    accessLevel 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.
    accountStatus String
    A filter to return only items that match the specified account status.
    authenticationType String
    A filter to return only items that match the specified authentication type.
    compartmentIdInSubtree Boolean
    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.
    filters List<Property Map>
    targetId String
    A filter to return only items related to a specific target OCID.
    timeLastLoginGreaterThanOrEqualTo String

    A filter to return users whose last login time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeLastLoginLessThan String
    A filter to return users whose last login time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timePasswordLastChangedGreaterThanOrEqualTo String

    A filter to return users whose last password change in the database is greater than or equal to the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timePasswordLastChangedLessThan String

    A filter to return users whose last password change in the database is less than the date and time specified, in the format defined by RFC3339.

    Example: 2016-12-19T16:39:57.600Z

    timeUserCreatedGreaterThanOrEqualTo String
    A filter to return users whose creation time in the database is greater than or equal to the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    timeUserCreatedLessThan String
    A filter to return users whose creation time in the database is less than the date and time specified, in the format defined by RFC3339. Example: 2016-12-19T16:39:57.600Z
    userCategory String
    A filter to return only items that match the specified user category.
    userKey String
    A filter to return only items that match the specified user key.
    userName String
    A filter to return only items that match the specified user name.

    getUserAssessmentUserAnalytics Result

    The following output properties are available:

    Supporting Types

    GetUserAssessmentUserAnalyticsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetUserAssessmentUserAnalyticsUserAggregation

    items List<Property Map>
    The array of user aggregation data.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi