优化审计

pull/63/MERGE
awenes 2023-10-03 11:59:20 +08:00
parent 7a5593c007
commit 941a776c9d
2 changed files with 9 additions and 9 deletions

View File

@ -39,32 +39,32 @@ import lombok.NonNull;
@Builder @Builder
public class Actor implements Serializable { public class Actor implements Serializable {
public static final String ACTOR_ID = "actor.id"; public static final String ACTOR_ID = "actor.id";
public static final String ACTOR_TYPE = "actor.type"; public static final String ACTOR_TYPE = "actor.type";
public static final String ACTOR_AUTH_TYPE = "actor.auth_type.keyword"; public static final String ACTOR_AUTH_TYPE = "actor.auth_type.keyword";
@Serial @Serial
private static final long serialVersionUID = -1144169992714000310L; private static final long serialVersionUID = -1144169992714000310L;
/** /**
* ID * ID
*/ */
@NonNull @NonNull
@Field(type = FieldType.Keyword, name = "id") @Field(type = FieldType.Keyword, name = "id")
private String id; private String id;
/** /**
* *
*/ */
@NonNull @NonNull
@Field(type = FieldType.Keyword, name = "type") @Field(type = FieldType.Keyword, name = "type")
private UserType type; private UserType type;
/** /**
* *
*/ */
@Field(type = FieldType.Keyword, name = "auth_type") @Field(type = FieldType.Keyword, name = "auth_type")
private String authType; private String authType;
} }

View File

@ -1,6 +1,6 @@
/* /*
* eiam-audit - Employee Identity and Access Management Program * eiam-audit - Employee Identity and Access Management
* Copyright © 2020-2023 TopIAM (support@topiam.cn) * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn)
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by * it under the terms of the GNU Affero General Public License as published by