更新接口

dev
TANGWY 5 months ago
parent b641f2b610
commit a58d9376d7
  1. 21
      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,6 +253,9 @@ export class NoticeService {
// 添加白名单灰名单默认类型
getDefaultRule(){
// {
// "message": "success",
// "code": 200,
// "data": {
// "white_list": {
// "ip": [
// 400000,
@ -279,6 +292,7 @@ export class NoticeService {
// 400001
// ]
// }
// }
// }
const url = '/uebaMetricsAnalysis/ueba_metrics/get_default_rule/';
return this.httpService.get(url);
@ -292,6 +306,13 @@ export class NoticeService {
// "name":"xx",
// "adg":21
// }
// }
// response:
// {
// "message": "success",
// "code": 200,
// "data": "ok"
// }
const url = '/uebaMetricsAnalysis/ueba_metrics/write_audit_log/';
return this.httpService.post(url,{},param);

Loading…
Cancel
Save