oci.DataSafe.getUserAssessmentUsers
Explore with Pulumi AI
This data source provides the list of User Assessment Users in Oracle Cloud Infrastructure Data Safe service.
Gets a list of users of the specified user assessment. The result contains the database user details for each user, such as user type, account status, last login time, user creation time, authentication type, user profile, and the date and time of the latest password change. It also contains the user category derived from these user details as well as privileges granted to each user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testUserAssessmentUsers = oci.DataSafe.getUserAssessmentUsers({
userAssessmentId: testUserAssessment.id,
accessLevel: userAssessmentUserAccessLevel,
accountStatus: userAssessmentUserAccountStatus,
areAllSchemasAccessible: userAssessmentUserAreAllSchemasAccessible,
authenticationType: userAssessmentUserAuthenticationType,
compartmentIdInSubtree: userAssessmentUserCompartmentIdInSubtree,
schemaLists: userAssessmentUserSchemaList,
targetId: testTarget.id,
timeLastLoginGreaterThanOrEqualTo: userAssessmentUserTimeLastLoginGreaterThanOrEqualTo,
timeLastLoginLessThan: userAssessmentUserTimeLastLoginLessThan,
timePasswordLastChangedGreaterThanOrEqualTo: userAssessmentUserTimePasswordLastChangedGreaterThanOrEqualTo,
timePasswordLastChangedLessThan: userAssessmentUserTimePasswordLastChangedLessThan,
timeUserCreatedGreaterThanOrEqualTo: userAssessmentUserTimeUserCreatedGreaterThanOrEqualTo,
timeUserCreatedLessThan: userAssessmentUserTimeUserCreatedLessThan,
userCategory: userAssessmentUserUserCategory,
userKey: userAssessmentUserUserKey,
userName: testUser.name,
userProfile: userAssessmentUserUserProfile,
userRole: userAssessmentUserUserRole,
userType: userAssessmentUserUserType,
});
import pulumi
import pulumi_oci as oci
test_user_assessment_users = oci.DataSafe.get_user_assessment_users(user_assessment_id=test_user_assessment["id"],
access_level=user_assessment_user_access_level,
account_status=user_assessment_user_account_status,
are_all_schemas_accessible=user_assessment_user_are_all_schemas_accessible,
authentication_type=user_assessment_user_authentication_type,
compartment_id_in_subtree=user_assessment_user_compartment_id_in_subtree,
schema_lists=user_assessment_user_schema_list,
target_id=test_target["id"],
time_last_login_greater_than_or_equal_to=user_assessment_user_time_last_login_greater_than_or_equal_to,
time_last_login_less_than=user_assessment_user_time_last_login_less_than,
time_password_last_changed_greater_than_or_equal_to=user_assessment_user_time_password_last_changed_greater_than_or_equal_to,
time_password_last_changed_less_than=user_assessment_user_time_password_last_changed_less_than,
time_user_created_greater_than_or_equal_to=user_assessment_user_time_user_created_greater_than_or_equal_to,
time_user_created_less_than=user_assessment_user_time_user_created_less_than,
user_category=user_assessment_user_user_category,
user_key=user_assessment_user_user_key,
user_name=test_user["name"],
user_profile=user_assessment_user_user_profile,
user_role=user_assessment_user_user_role,
user_type=user_assessment_user_user_type)
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.GetUserAssessmentUsers(ctx, &datasafe.GetUserAssessmentUsersArgs{
UserAssessmentId: testUserAssessment.Id,
AccessLevel: pulumi.StringRef(userAssessmentUserAccessLevel),
AccountStatus: pulumi.StringRef(userAssessmentUserAccountStatus),
AreAllSchemasAccessible: pulumi.BoolRef(userAssessmentUserAreAllSchemasAccessible),
AuthenticationType: pulumi.StringRef(userAssessmentUserAuthenticationType),
CompartmentIdInSubtree: pulumi.BoolRef(userAssessmentUserCompartmentIdInSubtree),
SchemaLists: userAssessmentUserSchemaList,
TargetId: pulumi.StringRef(testTarget.Id),
TimeLastLoginGreaterThanOrEqualTo: pulumi.StringRef(userAssessmentUserTimeLastLoginGreaterThanOrEqualTo),
TimeLastLoginLessThan: pulumi.StringRef(userAssessmentUserTimeLastLoginLessThan),
TimePasswordLastChangedGreaterThanOrEqualTo: pulumi.StringRef(userAssessmentUserTimePasswordLastChangedGreaterThanOrEqualTo),
TimePasswordLastChangedLessThan: pulumi.StringRef(userAssessmentUserTimePasswordLastChangedLessThan),
TimeUserCreatedGreaterThanOrEqualTo: pulumi.StringRef(userAssessmentUserTimeUserCreatedGreaterThanOrEqualTo),
TimeUserCreatedLessThan: pulumi.StringRef(userAssessmentUserTimeUserCreatedLessThan),
UserCategory: pulumi.StringRef(userAssessmentUserUserCategory),
UserKey: pulumi.StringRef(userAssessmentUserUserKey),
UserName: pulumi.StringRef(testUser.Name),
UserProfile: pulumi.StringRef(userAssessmentUserUserProfile),
UserRole: pulumi.StringRef(userAssessmentUserUserRole),
UserType: pulumi.StringRef(userAssessmentUserUserType),
}, 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 testUserAssessmentUsers = Oci.DataSafe.GetUserAssessmentUsers.Invoke(new()
{
UserAssessmentId = testUserAssessment.Id,
AccessLevel = userAssessmentUserAccessLevel,
AccountStatus = userAssessmentUserAccountStatus,
AreAllSchemasAccessible = userAssessmentUserAreAllSchemasAccessible,
AuthenticationType = userAssessmentUserAuthenticationType,
CompartmentIdInSubtree = userAssessmentUserCompartmentIdInSubtree,
SchemaLists = userAssessmentUserSchemaList,
TargetId = testTarget.Id,
TimeLastLoginGreaterThanOrEqualTo = userAssessmentUserTimeLastLoginGreaterThanOrEqualTo,
TimeLastLoginLessThan = userAssessmentUserTimeLastLoginLessThan,
TimePasswordLastChangedGreaterThanOrEqualTo = userAssessmentUserTimePasswordLastChangedGreaterThanOrEqualTo,
TimePasswordLastChangedLessThan = userAssessmentUserTimePasswordLastChangedLessThan,
TimeUserCreatedGreaterThanOrEqualTo = userAssessmentUserTimeUserCreatedGreaterThanOrEqualTo,
TimeUserCreatedLessThan = userAssessmentUserTimeUserCreatedLessThan,
UserCategory = userAssessmentUserUserCategory,
UserKey = userAssessmentUserUserKey,
UserName = testUser.Name,
UserProfile = userAssessmentUserUserProfile,
UserRole = userAssessmentUserUserRole,
UserType = userAssessmentUserUserType,
});
});
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.GetUserAssessmentUsersArgs;
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 testUserAssessmentUsers = DataSafeFunctions.getUserAssessmentUsers(GetUserAssessmentUsersArgs.builder()
.userAssessmentId(testUserAssessment.id())
.accessLevel(userAssessmentUserAccessLevel)
.accountStatus(userAssessmentUserAccountStatus)
.areAllSchemasAccessible(userAssessmentUserAreAllSchemasAccessible)
.authenticationType(userAssessmentUserAuthenticationType)
.compartmentIdInSubtree(userAssessmentUserCompartmentIdInSubtree)
.schemaLists(userAssessmentUserSchemaList)
.targetId(testTarget.id())
.timeLastLoginGreaterThanOrEqualTo(userAssessmentUserTimeLastLoginGreaterThanOrEqualTo)
.timeLastLoginLessThan(userAssessmentUserTimeLastLoginLessThan)
.timePasswordLastChangedGreaterThanOrEqualTo(userAssessmentUserTimePasswordLastChangedGreaterThanOrEqualTo)
.timePasswordLastChangedLessThan(userAssessmentUserTimePasswordLastChangedLessThan)
.timeUserCreatedGreaterThanOrEqualTo(userAssessmentUserTimeUserCreatedGreaterThanOrEqualTo)
.timeUserCreatedLessThan(userAssessmentUserTimeUserCreatedLessThan)
.userCategory(userAssessmentUserUserCategory)
.userKey(userAssessmentUserUserKey)
.userName(testUser.name())
.userProfile(userAssessmentUserUserProfile)
.userRole(userAssessmentUserUserRole)
.userType(userAssessmentUserUserType)
.build());
}
}
variables:
testUserAssessmentUsers:
fn::invoke:
Function: oci:DataSafe:getUserAssessmentUsers
Arguments:
userAssessmentId: ${testUserAssessment.id}
accessLevel: ${userAssessmentUserAccessLevel}
accountStatus: ${userAssessmentUserAccountStatus}
areAllSchemasAccessible: ${userAssessmentUserAreAllSchemasAccessible}
authenticationType: ${userAssessmentUserAuthenticationType}
compartmentIdInSubtree: ${userAssessmentUserCompartmentIdInSubtree}
schemaLists: ${userAssessmentUserSchemaList}
targetId: ${testTarget.id}
timeLastLoginGreaterThanOrEqualTo: ${userAssessmentUserTimeLastLoginGreaterThanOrEqualTo}
timeLastLoginLessThan: ${userAssessmentUserTimeLastLoginLessThan}
timePasswordLastChangedGreaterThanOrEqualTo: ${userAssessmentUserTimePasswordLastChangedGreaterThanOrEqualTo}
timePasswordLastChangedLessThan: ${userAssessmentUserTimePasswordLastChangedLessThan}
timeUserCreatedGreaterThanOrEqualTo: ${userAssessmentUserTimeUserCreatedGreaterThanOrEqualTo}
timeUserCreatedLessThan: ${userAssessmentUserTimeUserCreatedLessThan}
userCategory: ${userAssessmentUserUserCategory}
userKey: ${userAssessmentUserUserKey}
userName: ${testUser.name}
userProfile: ${userAssessmentUserUserProfile}
userRole: ${userAssessmentUserUserRole}
userType: ${userAssessmentUserUserType}
Using getUserAssessmentUsers
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 getUserAssessmentUsers(args: GetUserAssessmentUsersArgs, opts?: InvokeOptions): Promise<GetUserAssessmentUsersResult>
function getUserAssessmentUsersOutput(args: GetUserAssessmentUsersOutputArgs, opts?: InvokeOptions): Output<GetUserAssessmentUsersResult>
def get_user_assessment_users(access_level: Optional[str] = None,
account_status: Optional[str] = None,
are_all_schemas_accessible: Optional[bool] = None,
authentication_type: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
filters: Optional[Sequence[_datasafe.GetUserAssessmentUsersFilter]] = None,
schema_lists: Optional[Sequence[str]] = 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,
user_profile: Optional[str] = None,
user_role: Optional[str] = None,
user_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserAssessmentUsersResult
def get_user_assessment_users_output(access_level: Optional[pulumi.Input[str]] = None,
account_status: Optional[pulumi.Input[str]] = None,
are_all_schemas_accessible: Optional[pulumi.Input[bool]] = 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.GetUserAssessmentUsersFilterArgs]]]] = None,
schema_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = 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,
user_profile: Optional[pulumi.Input[str]] = None,
user_role: Optional[pulumi.Input[str]] = None,
user_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserAssessmentUsersResult]
func GetUserAssessmentUsers(ctx *Context, args *GetUserAssessmentUsersArgs, opts ...InvokeOption) (*GetUserAssessmentUsersResult, error)
func GetUserAssessmentUsersOutput(ctx *Context, args *GetUserAssessmentUsersOutputArgs, opts ...InvokeOption) GetUserAssessmentUsersResultOutput
> Note: This function is named GetUserAssessmentUsers
in the Go SDK.
public static class GetUserAssessmentUsers
{
public static Task<GetUserAssessmentUsersResult> InvokeAsync(GetUserAssessmentUsersArgs args, InvokeOptions? opts = null)
public static Output<GetUserAssessmentUsersResult> Invoke(GetUserAssessmentUsersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserAssessmentUsersResult> getUserAssessmentUsers(GetUserAssessmentUsersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getUserAssessmentUsers:getUserAssessmentUsers
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.
- Are
All boolSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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 Users Filter> - Schema
Lists List<string> - A filter to return items that contain the specified schema list.
- 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
Profile string - A filter to return only items that match the specified user profile.
- User
Role string - A filter to return only items that match the specified user role.
- User
Type string - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
- 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.
- Are
All boolSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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 Users Filter - Schema
Lists []string - A filter to return items that contain the specified schema list.
- 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
Profile string - A filter to return only items that match the specified user profile.
- User
Role string - A filter to return only items that match the specified user role.
- User
Type string - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
- 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.
- are
All BooleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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 Users Filter> - schema
Lists List<String> - A filter to return items that contain the specified schema list.
- 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
Profile String - A filter to return only items that match the specified user profile.
- user
Role String - A filter to return only items that match the specified user role.
- user
Type String - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
- 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.
- are
All booleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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 Users Filter[] - schema
Lists string[] - A filter to return items that contain the specified schema list.
- 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
Profile string - A filter to return only items that match the specified user profile.
- user
Role string - A filter to return only items that match the specified user role.
- user
Type string - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
- 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.
- are_
all_ boolschemas_ accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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 Users Filter] - schema_
lists Sequence[str] - A filter to return items that contain the specified schema list.
- 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_
profile str - A filter to return only items that match the specified user profile.
- user_
role str - A filter to return only items that match the specified user role.
- user_
type str - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
- 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.
- are
All BooleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- 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>
- schema
Lists List<String> - A filter to return items that contain the specified schema list.
- 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
Profile String - A filter to return only items that match the specified user profile.
- user
Role String - A filter to return only items that match the specified user role.
- user
Type String - A filter to return only items that match the specified user type. The possible values can be
- ADMIN_PRIVILEGED
- APPLICATION
- PRIVILEGED
- SCHEMA
- NON_PRIVILEGED as specified by '#/definitions/userTypes'.
getUserAssessmentUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Assessment stringId - Users
List<Get
User Assessment Users User> - The list of users.
- Access
Level string - Account
Status string - The status of the user account.
- Are
All boolSchemas Accessible - Indicates whether the user has access to all the schemas.
- Authentication
Type string - The user authentication method.
- Compartment
Id boolIn Subtree - Filters
List<Get
User Assessment Users Filter> - Schema
Lists List<string> - The list of database schemas current user can access.
- Target
Id string - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- User
Key string - User
Name string - The database user name.
- User
Profile string - The user profile name.
- User
Role string - User
Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- User
Assessment stringId - Users
[]Get
User Assessment Users User - The list of users.
- Access
Level string - Account
Status string - The status of the user account.
- Are
All boolSchemas Accessible - Indicates whether the user has access to all the schemas.
- Authentication
Type string - The user authentication method.
- Compartment
Id boolIn Subtree - Filters
[]Get
User Assessment Users Filter - Schema
Lists []string - The list of database schemas current user can access.
- Target
Id string - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- User
Key string - User
Name string - The database user name.
- User
Profile string - The user profile name.
- User
Role string - User
Type string
- id String
- The provider-assigned unique ID for this managed resource.
- user
Assessment StringId - users
List<Get
User Assessment Users User> - The list of users.
- access
Level String - account
Status String - The status of the user account.
- are
All BooleanSchemas Accessible - Indicates whether the user has access to all the schemas.
- authentication
Type String - The user authentication method.
- compartment
Id BooleanIn Subtree - filters
List<Get
User Assessment Users Filter> - schema
Lists List<String> - The list of database schemas current user can access.
- target
Id String - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- user
Key String - user
Name String - The database user name.
- user
Profile String - The user profile name.
- user
Role String - user
Type String
- id string
- The provider-assigned unique ID for this managed resource.
- user
Assessment stringId - users
Get
User Assessment Users User[] - The list of users.
- access
Level string - account
Status string - The status of the user account.
- are
All booleanSchemas Accessible - Indicates whether the user has access to all the schemas.
- authentication
Type string - The user authentication method.
- compartment
Id booleanIn Subtree - filters
Get
User Assessment Users Filter[] - schema
Lists string[] - The list of database schemas current user can access.
- target
Id string - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- user
Key string - user
Name string - The database user name.
- user
Profile string - The user profile name.
- user
Role string - user
Type string
- id str
- The provider-assigned unique ID for this managed resource.
- user_
assessment_ strid - users
Sequence[datasafe.
Get User Assessment Users User] - The list of users.
- access_
level str - account_
status str - The status of the user account.
- are_
all_ boolschemas_ accessible - Indicates whether the user has access to all the schemas.
- authentication_
type str - The user authentication method.
- compartment_
id_ boolin_ subtree - filters
Sequence[datasafe.
Get User Assessment Users Filter] - schema_
lists Sequence[str] - The list of database schemas current user can access.
- target_
id str - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- user_
key str - user_
name str - The database user name.
- user_
profile str - The user profile name.
- user_
role str - user_
type str
- id String
- The provider-assigned unique ID for this managed resource.
- user
Assessment StringId - users List<Property Map>
- The list of users.
- access
Level String - account
Status String - The status of the user account.
- are
All BooleanSchemas Accessible - Indicates whether the user has access to all the schemas.
- authentication
Type String - The user authentication method.
- compartment
Id BooleanIn Subtree - filters List<Property Map>
- schema
Lists List<String> - The list of database schemas current user can access.
- target
Id String - The OCID of the target database.
- 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 - The user category based on the privileges and other details of the user.
- user
Key String - user
Name String - The database user name.
- user
Profile String - The user profile name.
- user
Role String - user
Type String
Supporting Types
GetUserAssessmentUsersFilter
GetUserAssessmentUsersUser
- Account
Status string - A filter to return only items that match the specified account status.
- Admin
Roles List<string> - The admin roles granted to the user.
- Are
All boolSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- Authentication
Type string - A filter to return only items that match the specified authentication type.
- Key string
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- Schema
Lists List<string> - A filter to return items that contain the specified schema list.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Last stringLogin - The date and time the user last logged in, in the format defined by RFC3339.
- Time
Password stringChanged - The date and time the user password was last changed, in the format defined by RFC3339.
- Time
User stringCreated - The date and time the user was created in the database, in the format defined by RFC3339.
- User
Category string - A filter to return only items that match the specified user category.
- User
Name string - A filter to return only items that match the specified user name.
- User
Profile string - A filter to return only items that match the specified user profile.
- User
Types List<string> - The user type, which can be a combination of the following:
- Account
Status string - A filter to return only items that match the specified account status.
- Admin
Roles []string - The admin roles granted to the user.
- Are
All boolSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- Authentication
Type string - A filter to return only items that match the specified authentication type.
- Key string
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- Schema
Lists []string - A filter to return items that contain the specified schema list.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Last stringLogin - The date and time the user last logged in, in the format defined by RFC3339.
- Time
Password stringChanged - The date and time the user password was last changed, in the format defined by RFC3339.
- Time
User stringCreated - The date and time the user was created in the database, in the format defined by RFC3339.
- User
Category string - A filter to return only items that match the specified user category.
- User
Name string - A filter to return only items that match the specified user name.
- User
Profile string - A filter to return only items that match the specified user profile.
- User
Types []string - The user type, which can be a combination of the following:
- account
Status String - A filter to return only items that match the specified account status.
- admin
Roles List<String> - The admin roles granted to the user.
- are
All BooleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- authentication
Type String - A filter to return only items that match the specified authentication type.
- key String
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- schema
Lists List<String> - A filter to return items that contain the specified schema list.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Last StringLogin - The date and time the user last logged in, in the format defined by RFC3339.
- time
Password StringChanged - The date and time the user password was last changed, in the format defined by RFC3339.
- time
User StringCreated - The date and time the user was created in the database, in the format defined by RFC3339.
- user
Category String - A filter to return only items that match the specified user category.
- user
Name String - A filter to return only items that match the specified user name.
- user
Profile String - A filter to return only items that match the specified user profile.
- user
Types List<String> - The user type, which can be a combination of the following:
- account
Status string - A filter to return only items that match the specified account status.
- admin
Roles string[] - The admin roles granted to the user.
- are
All booleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- authentication
Type string - A filter to return only items that match the specified authentication type.
- key string
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- schema
Lists string[] - A filter to return items that contain the specified schema list.
- target
Id string - A filter to return only items related to a specific target OCID.
- time
Last stringLogin - The date and time the user last logged in, in the format defined by RFC3339.
- time
Password stringChanged - The date and time the user password was last changed, in the format defined by RFC3339.
- time
User stringCreated - The date and time the user was created in the database, in the format defined by RFC3339.
- user
Category string - A filter to return only items that match the specified user category.
- user
Name string - A filter to return only items that match the specified user name.
- user
Profile string - A filter to return only items that match the specified user profile.
- user
Types string[] - The user type, which can be a combination of the following:
- account_
status str - A filter to return only items that match the specified account status.
- admin_
roles Sequence[str] - The admin roles granted to the user.
- are_
all_ boolschemas_ accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- authentication_
type str - A filter to return only items that match the specified authentication type.
- key str
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- schema_
lists Sequence[str] - A filter to return items that contain the specified schema list.
- target_
id str - A filter to return only items related to a specific target OCID.
- time_
last_ strlogin - The date and time the user last logged in, in the format defined by RFC3339.
- time_
password_ strchanged - The date and time the user password was last changed, in the format defined by RFC3339.
- time_
user_ strcreated - The date and time the user was created in the database, in the format defined by RFC3339.
- user_
category str - A filter to return only items that match the specified user category.
- user_
name str - A filter to return only items that match the specified user name.
- user_
profile str - A filter to return only items that match the specified user profile.
- user_
types Sequence[str] - The user type, which can be a combination of the following:
- account
Status String - A filter to return only items that match the specified account status.
- admin
Roles List<String> - The admin roles granted to the user.
- are
All BooleanSchemas Accessible - A filter to return only items that match the criteria that all schemas can be accessed by a user.
- authentication
Type String - A filter to return only items that match the specified authentication type.
- key String
- The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- schema
Lists List<String> - A filter to return items that contain the specified schema list.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Last StringLogin - The date and time the user last logged in, in the format defined by RFC3339.
- time
Password StringChanged - The date and time the user password was last changed, in the format defined by RFC3339.
- time
User StringCreated - The date and time the user was created in the database, in the format defined by RFC3339.
- user
Category String - A filter to return only items that match the specified user category.
- user
Name String - A filter to return only items that match the specified user name.
- user
Profile String - A filter to return only items that match the specified user profile.
- user
Types List<String> - The user type, which can be a combination of the following:
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.