oci.DataSafe.getUserAssessmentUserAnalytics
Explore with Pulumi AI
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: testUserAssessment.id,
accessLevel: userAssessmentUserAnalyticAccessLevel,
accountStatus: userAssessmentUserAnalyticAccountStatus,
authenticationType: userAssessmentUserAnalyticAuthenticationType,
compartmentIdInSubtree: userAssessmentUserAnalyticCompartmentIdInSubtree,
targetId: testTarget.id,
timeLastLoginGreaterThanOrEqualTo: userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo,
timeLastLoginLessThan: userAssessmentUserAnalyticTimeLastLoginLessThan,
timePasswordLastChangedGreaterThanOrEqualTo: userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo,
timePasswordLastChangedLessThan: userAssessmentUserAnalyticTimePasswordLastChangedLessThan,
timeUserCreatedGreaterThanOrEqualTo: userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo,
timeUserCreatedLessThan: userAssessmentUserAnalyticTimeUserCreatedLessThan,
userCategory: userAssessmentUserAnalyticUserCategory,
userKey: userAssessmentUserAnalyticUserKey,
userName: testUser.name,
});
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_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"])
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: 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),
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
})
}
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,
TimePasswordLastChangedGreaterThanOrEqualTo = userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo,
TimePasswordLastChangedLessThan = userAssessmentUserAnalyticTimePasswordLastChangedLessThan,
TimeUserCreatedGreaterThanOrEqualTo = userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo,
TimeUserCreatedLessThan = userAssessmentUserAnalyticTimeUserCreatedLessThan,
UserCategory = userAssessmentUserAnalyticUserCategory,
UserKey = userAssessmentUserAnalyticUserKey,
UserName = testUser.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(testUserAssessment.id())
.accessLevel(userAssessmentUserAnalyticAccessLevel)
.accountStatus(userAssessmentUserAnalyticAccountStatus)
.authenticationType(userAssessmentUserAnalyticAuthenticationType)
.compartmentIdInSubtree(userAssessmentUserAnalyticCompartmentIdInSubtree)
.targetId(testTarget.id())
.timeLastLoginGreaterThanOrEqualTo(userAssessmentUserAnalyticTimeLastLoginGreaterThanOrEqualTo)
.timeLastLoginLessThan(userAssessmentUserAnalyticTimeLastLoginLessThan)
.timePasswordLastChangedGreaterThanOrEqualTo(userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo)
.timePasswordLastChangedLessThan(userAssessmentUserAnalyticTimePasswordLastChangedLessThan)
.timeUserCreatedGreaterThanOrEqualTo(userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo)
.timeUserCreatedLessThan(userAssessmentUserAnalyticTimeUserCreatedLessThan)
.userCategory(userAssessmentUserAnalyticUserCategory)
.userKey(userAssessmentUserAnalyticUserKey)
.userName(testUser.name())
.build());
}
}
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}
timePasswordLastChangedGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimePasswordLastChangedGreaterThanOrEqualTo}
timePasswordLastChangedLessThan: ${userAssessmentUserAnalyticTimePasswordLastChangedLessThan}
timeUserCreatedGreaterThanOrEqualTo: ${userAssessmentUserAnalyticTimeUserCreatedGreaterThanOrEqualTo}
timeUserCreatedLessThan: ${userAssessmentUserAnalyticTimeUserCreatedLessThan}
userCategory: ${userAssessmentUserAnalyticUserCategory}
userKey: ${userAssessmentUserAnalyticUserKey}
userName: ${testUser.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:
- User
Assessment stringId - The OCID of the user assessment.
- Access
Level 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.
- Account
Status string - A filter to return only items that match the specified account status.
- Authentication
Type string - A filter to return only items that match the specified authentication type.
- Compartment
Id boolIn Subtree - 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<Get
User Assessment User Analytics Filter> - Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Last stringLogin Greater Than Or Equal To 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 stringLogin Less Than - 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 stringLast Changed Greater Than Or Equal To 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 stringLast Changed Less Than 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 stringCreated Greater Than Or Equal To - 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 stringCreated Less Than - 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 string - A filter to return only items that match the specified user category.
- User
Key string - A filter to return only items that match the specified user key.
- User
Name string - A filter to return only items that match the specified user name.
- User
Assessment stringId - The OCID of the user assessment.
- Access
Level 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.
- Account
Status string - A filter to return only items that match the specified account status.
- Authentication
Type string - A filter to return only items that match the specified authentication type.
- Compartment
Id boolIn Subtree - 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
[]Get
User Assessment User Analytics Filter - Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Last stringLogin Greater Than Or Equal To 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 stringLogin Less Than - 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 stringLast Changed Greater Than Or Equal To 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 stringLast Changed Less Than 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 stringCreated Greater Than Or Equal To - 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 stringCreated Less Than - 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 string - A filter to return only items that match the specified user category.
- User
Key string - A filter to return only items that match the specified user key.
- User
Name string - A filter to return only items that match the specified user name.
- user
Assessment StringId - The OCID of the user assessment.
- access
Level 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.
- account
Status String - A filter to return only items that match the specified account status.
- authentication
Type String - A filter to return only items that match the specified authentication type.
- compartment
Id BooleanIn Subtree - 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<Get
User Assessment User Analytics Filter> - target
Id String - A filter to return only items related to a specific target OCID.
- time
Last StringLogin Greater Than Or Equal To 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 StringLogin Less Than - 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 StringLast Changed Greater Than Or Equal To 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 StringLast Changed Less Than 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 StringCreated Greater Than Or Equal To - 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 StringCreated Less Than - 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 String - A filter to return only items that match the specified user category.
- user
Key String - A filter to return only items that match the specified user key.
- user
Name String - A filter to return only items that match the specified user name.
- user
Assessment stringId - The OCID of the user assessment.
- access
Level 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.
- account
Status string - A filter to return only items that match the specified account status.
- authentication
Type string - A filter to return only items that match the specified authentication type.
- compartment
Id booleanIn Subtree - 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
Get
User Assessment User Analytics Filter[] - target
Id string - A filter to return only items related to a specific target OCID.
- time
Last stringLogin Greater Than Or Equal To 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 stringLogin Less Than - 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 stringLast Changed Greater Than Or Equal To 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 stringLast Changed Less Than 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 stringCreated Greater Than Or Equal To - 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 stringCreated Less Than - 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 string - A filter to return only items that match the specified user category.
- user
Key string - A filter to return only items that match the specified user key.
- user
Name string - A filter to return only items that match the specified user name.
- user_
assessment_ strid - 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_ boolin_ subtree - 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.
Get User Assessment User Analytics Filter] - target_
id str - A filter to return only items related to a specific target OCID.
- time_
last_ strlogin_ greater_ than_ or_ equal_ to 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_ strlogin_ less_ than - 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_ strlast_ changed_ greater_ than_ or_ equal_ to 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_ strlast_ changed_ less_ than 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_ strcreated_ greater_ than_ or_ equal_ to - 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_ strcreated_ less_ than - 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.
- user
Assessment StringId - The OCID of the user assessment.
- access
Level 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.
- account
Status String - A filter to return only items that match the specified account status.
- authentication
Type String - A filter to return only items that match the specified authentication type.
- compartment
Id BooleanIn Subtree - 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>
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Last StringLogin Greater Than Or Equal To 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 StringLogin Less Than - 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 StringLast Changed Greater Than Or Equal To 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 StringLast Changed Less Than 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 StringCreated Greater Than Or Equal To - 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 StringCreated Less Than - 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 String - A filter to return only items that match the specified user category.
- user
Key String - A filter to return only items that match the specified user key.
- user
Name String - A filter to return only items that match the specified user name.
getUserAssessmentUserAnalytics Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Aggregations List<GetUser Assessment User Analytics User Aggregation> - The list of user_aggregations.
- User
Assessment stringId - Access
Level string - Account
Status string - Authentication
Type string - Compartment
Id boolIn Subtree - Filters
List<Get
User Assessment User Analytics Filter> - Target
Id string - Time
Last stringLogin Greater Than Or Equal To - Time
Last stringLogin Less Than - Time
Password stringLast Changed Greater Than Or Equal To - Time
Password stringLast Changed Less Than - Time
User stringCreated Greater Than Or Equal To - Time
User stringCreated Less Than - User
Category string - User
Key string - User
Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Aggregations []GetUser Assessment User Analytics User Aggregation - The list of user_aggregations.
- User
Assessment stringId - Access
Level string - Account
Status string - Authentication
Type string - Compartment
Id boolIn Subtree - Filters
[]Get
User Assessment User Analytics Filter - Target
Id string - Time
Last stringLogin Greater Than Or Equal To - Time
Last stringLogin Less Than - Time
Password stringLast Changed Greater Than Or Equal To - Time
Password stringLast Changed Less Than - Time
User stringCreated Greater Than Or Equal To - Time
User stringCreated Less Than - User
Category string - User
Key string - User
Name string
- id String
- The provider-assigned unique ID for this managed resource.
- user
Aggregations List<GetUser Assessment User Analytics User Aggregation> - The list of user_aggregations.
- user
Assessment StringId - access
Level String - account
Status String - authentication
Type String - compartment
Id BooleanIn Subtree - filters
List<Get
User Assessment User Analytics Filter> - target
Id String - time
Last StringLogin Greater Than Or Equal To - time
Last StringLogin Less Than - time
Password StringLast Changed Greater Than Or Equal To - time
Password StringLast Changed Less Than - time
User StringCreated Greater Than Or Equal To - time
User StringCreated Less Than - user
Category String - user
Key String - user
Name String
- id string
- The provider-assigned unique ID for this managed resource.
- user
Aggregations GetUser Assessment User Analytics User Aggregation[] - The list of user_aggregations.
- user
Assessment stringId - access
Level string - account
Status string - authentication
Type string - compartment
Id booleanIn Subtree - filters
Get
User Assessment User Analytics Filter[] - target
Id string - time
Last stringLogin Greater Than Or Equal To - time
Last stringLogin Less Than - time
Password stringLast Changed Greater Than Or Equal To - time
Password stringLast Changed Less Than - time
User stringCreated Greater Than Or Equal To - time
User stringCreated Less Than - user
Category string - user
Key string - user
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- user_
aggregations Sequence[datasafe.Get User Assessment User Analytics User Aggregation] - The list of user_aggregations.
- user_
assessment_ strid - access_
level str - account_
status str - authentication_
type str - compartment_
id_ boolin_ subtree - filters
Sequence[datasafe.
Get User Assessment User Analytics Filter] - target_
id str - time_
last_ strlogin_ greater_ than_ or_ equal_ to - time_
last_ strlogin_ less_ than - time_
password_ strlast_ changed_ greater_ than_ or_ equal_ to - time_
password_ strlast_ changed_ less_ than - time_
user_ strcreated_ greater_ than_ or_ equal_ to - time_
user_ strcreated_ less_ than - user_
category str - user_
key str - user_
name str
- id String
- The provider-assigned unique ID for this managed resource.
- user
Aggregations List<Property Map> - The list of user_aggregations.
- user
Assessment StringId - access
Level String - account
Status String - authentication
Type String - compartment
Id BooleanIn Subtree - filters List<Property Map>
- target
Id String - time
Last StringLogin Greater Than Or Equal To - time
Last StringLogin Less Than - time
Password StringLast Changed Greater Than Or Equal To - time
Password StringLast Changed Less Than - time
User StringCreated Greater Than Or Equal To - time
User StringCreated Less Than - user
Category String - user
Key String - user
Name String
Supporting Types
GetUserAssessmentUserAnalyticsFilter
GetUserAssessmentUserAnalyticsUserAggregation
- Items
List<Get
User Assessment User Analytics User Aggregation Item> - The array of user aggregation data.
- Items
[]Get
User Assessment User Analytics User Aggregation Item - The array of user aggregation data.
- items
List<Get
User Assessment User Analytics User Aggregation Item> - The array of user aggregation data.
- items
Get
User Assessment User Analytics User Aggregation Item[] - The array of user aggregation data.
- items
Sequence[datasafe.
Get User Assessment User Analytics User Aggregation Item] - The array of user aggregation data.
- 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.