Skip to content

Commit

Permalink
Merge branch 'dev-4.2.2' of code.alipay.com:oceanbase/oceanbase-devel…
Browse files Browse the repository at this point in the history
…oper-center into dev-4.2.2
  • Loading branch information
HSunboy committed Nov 6, 2023
2 parents 01c7c5e + c3aae57 commit 7ff826f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/d.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ export enum AuditEventType {
PROJECT_MANAGEMENT = 'PROJECT_MANAGEMENT',
// 导出结果集
EXPORT_RESULT_SET = 'EXPORT_RESULT_SET',
// SQL 安全规则管理
SQL_SECURITY_RULE_MANAGEMENT = 'SQL_SECURITY_RULE_MANAGEMENT',
}

export enum AuditEventActionType {
Expand Down Expand Up @@ -551,6 +553,8 @@ export enum AuditEventActionType {
REJECT_EXPORT_RESULT_SET_TASK = 'REJECT_EXPORT_RESULT_SET_TASK',
EXECUTE_EXPORT_RESULT_SET_TASK = 'EXECUTE_EXPORT_RESULT_SET_TASK',
STOP_EXPORT_RESULT_SET_TASK = 'STOP_EXPORT_RESULT_SET_TASK',
// SQL 安全规则管理
UPDATE_SQL_SECURITY_RULE = 'UPDATE_SQL_SECURITY_RULE',
}

export enum AuditEventDialectType {
Expand Down
4 changes: 4 additions & 0 deletions src/page/Secure/Record/RecordPage/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export const AuditEventMetaMap = {
[AuditEventType.EXPORT_RESULT_SET]: formatMessage({
id: 'odc.src.page.Secure.Record.RecordPage.ExportResultSet',
}), //'导出结果集'
// SQL安全规则管理
[AuditEventType.SQL_SECURITY_RULE_MANAGEMENT]: 'SQL安全规则管理',
};
export const AuditEventActionMap = {
// 个人配置
Expand Down Expand Up @@ -536,6 +538,8 @@ export const AuditEventActionMap = {
[AuditEventActionType.STOP_EXPORT_RESULT_SET_TASK]: formatMessage({
id: 'odc.src.page.Secure.Record.RecordPage.StopExportResultsSetTask',
}), //'停止导出结果集任务'
// SQL安全规则管理
[AuditEventActionType.UPDATE_SQL_SECURITY_RULE]: '更新SQL安全规则',
};
export function getEventFilterAndOptions(eventMeta: IAuditEvent[]) {
const metas =
Expand Down
4 changes: 4 additions & 0 deletions src/page/Secure/components/RecordPage/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export const AuditEventMetaMap = {
[AuditEventType.EXPORT_RESULT_SET]: formatMessage({
id: 'odc.src.page.Secure.components.RecordPage.ExportResultSet',
}), //'导出结果集'
// SQL安全规则管理
[AuditEventType.SQL_SECURITY_RULE_MANAGEMENT]: 'SQL安全规则管理',
};
export const AuditEventActionMap = {
// 个人配置
Expand Down Expand Up @@ -536,6 +538,8 @@ export const AuditEventActionMap = {
[AuditEventActionType.STOP_EXPORT_RESULT_SET_TASK]: formatMessage({
id: 'odc.src.page.Secure.components.RecordPage.StopExportResultsSetTask',
}), //'停止导出结果集任务'
// SQL安全规则管理
[AuditEventActionType.UPDATE_SQL_SECURITY_RULE]: '更新SQL安全规则',
};
export function getEventFilterAndOptions(eventMeta: IAuditEvent[]) {
const metas =
Expand Down

0 comments on commit 7ff826f

Please sign in to comment.