优化审计

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
public class Actor implements Serializable {
public static final String ACTOR_ID = "actor.id";
public static final String ACTOR_TYPE = "actor.type";
public static final String ACTOR_ID = "actor.id";
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
private static final long serialVersionUID = -1144169992714000310L;
private static final long serialVersionUID = -1144169992714000310L;
/**
* ID
*/
@NonNull
@Field(type = FieldType.Keyword, name = "id")
private String id;
private String id;
/**
*
*/
@NonNull
@Field(type = FieldType.Keyword, name = "type")
private UserType type;
private UserType 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
* Copyright © 2020-2023 TopIAM (support@topiam.cn)
* eiam-audit - Employee Identity and Access Management
* Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn)
*
* 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