public static AuditIdEnum getAuditId(String auditType, FlowType flowType) {
        for (AuditIdEnum auditIdEnum : AuditIdEnum.values()) {
            if (auditIdEnum.getFlowType() == flowType &&
                    auditType.equalsIgnoreCase(auditIdEnum.getAuditType().value())) {
                return auditIdEnum;
            }
        }
        LOGGER.error("Error Audit type: {}, flow type {}: ", auditType, flowType);
        throw new AuditTypeNotExistException(String.format("Audit type %s does not exist", auditType));
    }
Audit item management, each module is assigned two baseline audit item IDs, namely receiving and sending.
inlong-audit/audit-sdk/src/main/java/org/apache/inlong/audit/AuditIdEnum.java