diff --git a/src/app/routes/config/service/https/notice.service.ts b/src/app/routes/config/service/https/notice.service.ts index 42510e7..734d889 100644 --- a/src/app/routes/config/service/https/notice.service.ts +++ b/src/app/routes/config/service/https/notice.service.ts @@ -213,6 +213,9 @@ export class NoticeService { // 400000 // ] // } + + // response + //{"message": "The whitelist is added", "code": 200, "data": {"id": 6}} const url = '/ditingEngine/diting/global/whitelist_add/'; return this.httpService.post(url,{}, params); } @@ -235,6 +238,13 @@ export class NoticeService { // "url": "http://baid.com" // }, // "type": 0 + // } + + //response: + // { + // "message": "谛听引擎-添加灰名单成功", + // "code": 200, + // "data": null // } const url = '/ditingEngine/diting/global/whitelist_add'; return this.httpService.post(url,{}, params); @@ -243,47 +253,51 @@ export class NoticeService { // 添加白名单灰名单默认类型 getDefaultRule(){ // { - // "white_list": { - // "ip": [ - // 400000, - // 400001 - // ], - // "account": [ - // 400000, - // 400001 - // ], - // "interface": [ - // 400000, - // 400001 - // ], - // "menu": [ - // 400000, - // 400001 - // ] - // }, - // "grey_list": { - // "ip": [ - // 400000, - // 400001 - // ], - // "account": [ - // 400000, - // 400001 - // ], - // "interface": [ - // 400000, - // 400001 - // ], - // "menu": [ - // 400000, - // 400001 - // ] + // "message": "success", + // "code": 200, + // "data": { + // "white_list": { + // "ip": [ + // 400000, + // 400001 + // ], + // "account": [ + // 400000, + // 400001 + // ], + // "interface": [ + // 400000, + // 400001 + // ], + // "menu": [ + // 400000, + // 400001 + // ] + // }, + // "grey_list": { + // "ip": [ + // 400000, + // 400001 + // ], + // "account": [ + // 400000, + // 400001 + // ], + // "interface": [ + // 400000, + // 400001 + // ], + // "menu": [ + // 400000, + // 400001 + // ] + // } // } // } const url = '/uebaMetricsAnalysis/ueba_metrics/get_default_rule/'; return this.httpService.get(url); } - + // 写审计日志 writeAuditlog(param){ // { @@ -293,6 +307,13 @@ export class NoticeService { // "adg":21 // } // } + + // response: + // { + // "message": "success", + // "code": 200, + // "data": "ok" + // } const url = '/uebaMetricsAnalysis/ueba_metrics/write_audit_log/'; return this.httpService.post(url,{},param); }