1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getUserAssessmentUserAnalytics
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.DataSafe.getUserAssessmentUserAnalytics

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 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 READ 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: testUserAssessment.id,
    accessLevel: userAssessmentUserAnalyticAccessLevel,
    accountStatus: userAssessmentUserAnalyticAccountStatus,
    authenticationType: userAssessmentUserAnalyticAuthenticationType,
    compartmentIdInSubtree: userAssessmentUserAnalyticCompartmentIdInSubtree,
    targetId: testTarget.id,
    timeLastLoginGreaterThanOrEqualTo: userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo,
    timeLastLoginLessThan: userAssessmentUserAnalyticTimeLastLoginLessThan,
    timePasswordExpiryGreaterThanOrEqualTo: userAssessmentUserAnalyticTimePasswordExpiryGreaterThanOrEqualTo,
    timePasswordExpiryLessThan: userAssessmentUserAnalyticTimePasswordExpiryLessThan,
    timePasswordLastChangedGreaterThanOrEqualTo: userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo,
    timePasswordLastChangedLessThan: userAssessmentUserAnalyticTimePasswordLastChangedLessThan,
    timeUserCreatedGreaterThanOrEqualTo: userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo,
    timeUserCreatedLessThan: userAssessmentUserAnalyticTimeUserCreatedLessThan,
    userCategory: userAssessmentUserAnalyticUserCategory,
    userKey: userAssessmentUserAnalyticUserKey,
    userName: testUser.name,
});
Copy
import pulumi
import pulumi_oci as oci

test_user_assessment_user_analytics = oci.DataSafe.get_user_assessment_user_analytics(user_assessment_id=test_user_assessment["id"],
    access_level=user_assessment_user_analytic_access_level,
    account_status=user_assessment_user_analytic_account_status,
    authentication_type=user_assessment_user_analytic_authentication_type,
    compartment_id_in_subtree=user_assessment_user_analytic_compartment_id_in_subtree,
    target_id=test_target["id"],
    time_last_login_greater_than_or_equal_to=user_assessment_user_analytic_time_last_login_greater_than_or_equal_to,
    time_last_login_less_than=user_assessment_user_analytic_time_last_login_less_than,
    time_password_expiry_greater_than_or_equal_to=user_assessment_user_analytic_time_password_expiry_greater_than_or_equal_to,
    time_password_expiry_less_than=user_assessment_user_analytic_time_password_expiry_less_than,
    time_password_last_changed_greater_than_or_equal_to=user_assessment_user_analytic_time_password_last_changed_greater_than_or_equal_to,
    time_password_last_changed_less_than=user_assessment_user_analytic_time_password_last_changed_less_than,
    time_user_created_greater_than_or_equal_to=user_assessment_user_analytic_time_user_created_greater_than_or_equal_to,
    time_user_created_less_than=user_assessment_user_analytic_time_user_created_less_than,
    user_category=user_assessment_user_analytic_user_category,
    user_key=user_assessment_user_analytic_user_key,
    user_name=test_user["name"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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:                            testUserAssessment.Id,
			AccessLevel:                                 pulumi.StringRef(userAssessmentUserAnalyticAccessLevel),
			AccountStatus:                               pulumi.StringRef(userAssessmentUserAnalyticAccountStatus),
			AuthenticationType:                          pulumi.StringRef(userAssessmentUserAnalyticAuthenticationType),
			CompartmentIdInSubtree:                      pulumi.BoolRef(userAssessmentUserAnalyticCompartmentIdInSubtree),
			TargetId:                                    pulumi.StringRef(testTarget.Id),
			TimeLastLoginGreaterThanOrEqualTo:           pulumi.StringRef(userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo),
			TimeLastLoginLessThan:                       pulumi.StringRef(userAssessmentUserAnalyticTimeLastLoginLessThan),
			TimePasswordExpiryGreaterThanOrEqualTo:      pulumi.StringRef(userAssessmentUserAnalyticTimePasswordExpiryGreaterThanOrEqualTo),
			TimePasswordExpiryLessThan:                  pulumi.StringRef(userAssessmentUserAnalyticTimePasswordExpiryLessThan),
			TimePasswordLastChangedGreaterThanOrEqualTo: pulumi.StringRef(userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo),
			TimePasswordLastChangedLessThan:             pulumi.StringRef(userAssessmentUserAnalyticTimePasswordLastChangedLessThan),
			TimeUserCreatedGreaterThanOrEqualTo:         pulumi.StringRef(userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo),
			TimeUserCreatedLessThan:                     pulumi.StringRef(userAssessmentUserAnalyticTimeUserCreatedLessThan),
			UserCategory:                                pulumi.StringRef(userAssessmentUserAnalyticUserCategory),
			UserKey:                                     pulumi.StringRef(userAssessmentUserAnalyticUserKey),
			UserName:                                    pulumi.StringRef(testUser.Name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 = testUserAssessment.Id,
        AccessLevel = userAssessmentUserAnalyticAccessLevel,
        AccountStatus = userAssessmentUserAnalyticAccountStatus,
        AuthenticationType = userAssessmentUserAnalyticAuthenticationType,
        CompartmentIdInSubtree = userAssessmentUserAnalyticCompartmentIdInSubtree,
        TargetId = testTarget.Id,
        TimeLastLoginGreaterThanOrEqualTo = userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo,
        TimeLastLoginLessThan = userAssessmentUserAnalyticTimeLastLoginLessThan,
        TimePasswordExpiryGreaterThanOrEqualTo = userAssessmentUserAnalyticTimePasswordExpiryGreaterThanOrEqualTo,
        TimePasswordExpiryLessThan = userAssessmentUserAnalyticTimePasswordExpiryLessThan,
        TimePasswordLastChangedGreaterThanOrEqualTo = userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo,
        TimePasswordLastChangedLessThan = userAssessmentUserAnalyticTimePasswordLastChangedLessThan,
        TimeUserCreatedGreaterThanOrEqualTo = userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo,
        TimeUserCreatedLessThan = userAssessmentUserAnalyticTimeUserCreatedLessThan,
        UserCategory = userAssessmentUserAnalyticUserCategory,
        UserKey = userAssessmentUserAnalyticUserKey,
        UserName = testUser.Name,
    });

});
Copy
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(testUserAssessment.id())
            .accessLevel(userAssessmentUserAnalyticAccessLevel)
            .accountStatus(userAssessmentUserAnalyticAccountStatus)
            .authenticationType(userAssessmentUserAnalyticAuthenticationType)
            .compartmentIdInSubtree(userAssessmentUserAnalyticCompartmentIdInSubtree)
            .targetId(testTarget.id())
            .timeLastLoginGreaterThanOrEqualTo(userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo)
            .timeLastLoginLessThan(userAssessmentUserAnalyticTimeLastLoginLessThan)
            .timePasswordExpiryGreaterThanOrEqualTo(userAssessmentUserAnalyticTimePasswordExpiryGreaterThanOrEqualTo)
            .timePasswordExpiryLessThan(userAssessmentUserAnalyticTimePasswordExpiryLessThan)
            .timePasswordLastChangedGreaterThanOrEqualTo(userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo)
            .timePasswordLastChangedLessThan(userAssessmentUserAnalyticTimePasswordLastChangedLessThan)
            .timeUserCreatedGreaterThanOrEqualTo(userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo)
            .timeUserCreatedLessThan(userAssessmentUserAnalyticTimeUserCreatedLessThan)
            .userCategory(userAssessmentUserAnalyticUserCategory)
            .userKey(userAssessmentUserAnalyticUserKey)
            .userName(testUser.name())
            .build());

    }
}
Copy
variables:
  testUserAssessmentUserAnalytics:
    fn::invoke:
      function: oci:DataSafe:getUserAssessmentUserAnalytics
      arguments:
        userAssessmentId: ${testUserAssessment.id}
        accessLevel: ${userAssessmentUserAnalyticAccessLevel}
        accountStatus: ${userAssessmentUserAnalyticAccountStatus}
        authenticationType: ${userAssessmentUserAnalyticAuthenticationType}
        compartmentIdInSubtree: ${userAssessmentUserAnalyticCompartmentIdInSubtree}
        targetId: ${testTarget.id}
        timeLastLoginGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo}
        timeLastLoginLessThan: ${userAssessmentUserAnalyticTimeLastLoginLessThan}
        timePasswordExpiryGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimePasswordExpiryGreaterThanOrEqualTo}
        timePasswordExpiryLessThan: ${userAssessmentUserAnalyticTimePasswordExpiryLessThan}
        timePasswordLastChangedGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo}
        timePasswordLastChangedLessThan: ${userAssessmentUserAnalyticTimePasswordLastChangedLessThan}
        timeUserCreatedGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo}
        timeUserCreatedLessThan: ${userAssessmentUserAnalyticTimeUserCreatedLessThan}
        userCategory: ${userAssessmentUserAnalyticUserCategory}
        userKey: ${userAssessmentUserAnalyticUserKey}
        userName: ${testUser.name}
Copy

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>
Copy
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_expiry_greater_than_or_equal_to: Optional[str] = None,
                                       time_password_expiry_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_expiry_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                       time_password_expiry_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]
Copy
func GetUserAssessmentUserAnalytics(ctx *Context, args *GetUserAssessmentUserAnalyticsArgs, opts ...InvokeOption) (*GetUserAssessmentUserAnalyticsResult, error)
func GetUserAssessmentUserAnalyticsOutput(ctx *Context, args *GetUserAssessmentUserAnalyticsOutputArgs, opts ...InvokeOption) GetUserAssessmentUserAnalyticsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetUserAssessmentUserAnalyticsResult> getUserAssessmentUserAnalytics(GetUserAssessmentUserAnalyticsArgs args, InvokeOptions options)
public static Output<GetUserAssessmentUserAnalyticsResult> getUserAssessmentUserAnalytics(GetUserAssessmentUserAnalyticsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getUserAssessmentUserAnalytics:getUserAssessmentUserAnalytics
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

UserAssessmentId This property is required. 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 Changes to this property will trigger replacement. 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
TimePasswordExpiryGreaterThanOrEqualTo string
A filter to return users whose password expiry date 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
TimePasswordExpiryLessThan string
A filter to return users whose password expiry date 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 This property is required. 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 Changes to this property will trigger replacement. []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
TimePasswordExpiryGreaterThanOrEqualTo string
A filter to return users whose password expiry date 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
TimePasswordExpiryLessThan string
A filter to return users whose password expiry date 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 This property is required. 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 Changes to this property will trigger replacement. 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
timePasswordExpiryGreaterThanOrEqualTo String
A filter to return users whose password expiry date 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
timePasswordExpiryLessThan String
A filter to return users whose password expiry date 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 This property is required. 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 Changes to this property will trigger replacement. 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
timePasswordExpiryGreaterThanOrEqualTo string
A filter to return users whose password expiry date 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
timePasswordExpiryLessThan string
A filter to return users whose password expiry date 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 This property is required. 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 Changes to this property will trigger replacement. 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_expiry_greater_than_or_equal_to str
A filter to return users whose password expiry date 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_expiry_less_than str
A filter to return users whose password expiry date 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 This property is required. 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 Changes to this property will trigger replacement. 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
timePasswordExpiryGreaterThanOrEqualTo String
A filter to return users whose password expiry date 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
timePasswordExpiryLessThan String
A filter to return users whose password expiry date 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 This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetUserAssessmentUserAnalyticsUserAggregation

Items This property is required. List<GetUserAssessmentUserAnalyticsUserAggregationItem>
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
Items This property is required. []GetUserAssessmentUserAnalyticsUserAggregationItem
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
items This property is required. List<GetUserAssessmentUserAnalyticsUserAggregationItem>
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
items This property is required. GetUserAssessmentUserAnalyticsUserAggregationItem[]
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
items This property is required. Sequence[datasafe.GetUserAssessmentUserAnalyticsUserAggregationItem]
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
items This property is required. List<Property Map>
List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi