@shieldiot/ngx-pulseiot-lib 2.18.1120 → 2.18.1121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/services/SysFeaturesService.mjs +1 -1
- package/esm2022/lib/services/SysIdsRulesService.mjs +11 -5
- package/esm2022/lib/services/UsrEventsService.mjs +1 -1
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +10 -4
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/services/SysFeaturesService.d.ts +3 -3
- package/lib/services/SysIdsRulesService.d.ts +9 -5
- package/lib/services/UsrEventsService.d.ts +12 -12
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { Feature } from '../model';
|
|
4
3
|
import { FeaturesGroup } from '../model';
|
|
5
4
|
import { EntityResponse } from '../model';
|
|
6
5
|
import { ActionResponse } from '../model';
|
|
7
6
|
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { Feature } from '../model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SysFeaturesService {
|
|
10
10
|
private config;
|
|
@@ -30,11 +30,11 @@ export declare class SysFeaturesService {
|
|
|
30
30
|
/**
|
|
31
31
|
* Get a single features group by id
|
|
32
32
|
*/
|
|
33
|
-
getGroup(id?: string): import("rxjs").Observable<EntityResponse<
|
|
33
|
+
getGroup(id?: string): import("rxjs").Observable<EntityResponse<FeaturesGroup>>;
|
|
34
34
|
/**
|
|
35
35
|
* Find features groups by query
|
|
36
36
|
*/
|
|
37
|
-
findGroup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<
|
|
37
|
+
findGroup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FeaturesGroup>>;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysFeaturesService, never>;
|
|
39
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysFeaturesService>;
|
|
40
40
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
3
|
+
import { EventTypeCode } from '../model';
|
|
4
4
|
import { EntityResponse } from '../model';
|
|
5
5
|
import { ActionResponse } from '../model';
|
|
6
|
+
import { SeverityTypeCode } from '../model';
|
|
6
7
|
import { EntitiesResponse } from '../model';
|
|
8
|
+
import { Rule } from '../model';
|
|
9
|
+
import { IdsRule } from '../model';
|
|
10
|
+
import { RuleActivityStatusCode } from '../model';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
export declare class SysIdsRulesService {
|
|
9
13
|
private config;
|
|
@@ -14,11 +18,11 @@ export declare class SysIdsRulesService {
|
|
|
14
18
|
* region Endpoint REST handlers ---------------------------------------------------------------------------------------
|
|
15
19
|
* Create new rule configuration
|
|
16
20
|
*/
|
|
17
|
-
create(body?: Rule): import("rxjs").Observable<EntityResponse<
|
|
21
|
+
create(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
18
22
|
/**
|
|
19
23
|
* Update existing rule configuration
|
|
20
24
|
*/
|
|
21
|
-
update(body?: Rule): import("rxjs").Observable<EntityResponse<
|
|
25
|
+
update(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
22
26
|
/**
|
|
23
27
|
* Delete rule configuration
|
|
24
28
|
*/
|
|
@@ -26,11 +30,11 @@ export declare class SysIdsRulesService {
|
|
|
26
30
|
/**
|
|
27
31
|
* Get a single rule by id
|
|
28
32
|
*/
|
|
29
|
-
get(id?: string): import("rxjs").Observable<EntityResponse<
|
|
33
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
30
34
|
/**
|
|
31
35
|
* Find rules by query
|
|
32
36
|
*/
|
|
33
|
-
find(
|
|
37
|
+
find(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IdsRule>>;
|
|
34
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysIdsRulesService, never>;
|
|
35
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysIdsRulesService>;
|
|
36
40
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { EventWithDevice } from '../model';
|
|
4
|
-
import { MaliciousIPData } from '../model';
|
|
5
|
-
import { Distribution } from '../model';
|
|
6
3
|
import { TimeSeries } from '../model';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { Tuple } from '../model';
|
|
5
|
+
import { EventTypeCode } from '../model';
|
|
6
|
+
import { SimpleEntity } from '../model';
|
|
7
|
+
import { Event } from '../model';
|
|
9
8
|
import { EventCategoryCode } from '../model';
|
|
9
|
+
import { EventStatusCode } from '../model';
|
|
10
10
|
import { ActionResponse } from '../model';
|
|
11
11
|
import { MaliciousIpCard } from '../model';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { RuleTypeCode } from '../model';
|
|
16
|
-
import { SimpleEntity } from '../model';
|
|
12
|
+
import { EventWithDevice } from '../model';
|
|
13
|
+
import { Device } from '../model';
|
|
14
|
+
import { EntityResponse } from '../model';
|
|
17
15
|
import { SeverityTypeCode } from '../model';
|
|
16
|
+
import { RuleTypeCode } from '../model';
|
|
18
17
|
import { EntitiesResponse } from '../model';
|
|
19
|
-
import {
|
|
18
|
+
import { MaliciousIPData } from '../model';
|
|
19
|
+
import { Distribution } from '../model';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export declare class UsrEventsService {
|
|
22
22
|
private config;
|
|
@@ -46,7 +46,7 @@ export declare class UsrEventsService {
|
|
|
46
46
|
/**
|
|
47
47
|
* Get top 10 events by their severity and time
|
|
48
48
|
*/
|
|
49
|
-
findTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<
|
|
49
|
+
findTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<MaliciousIPData>>;
|
|
50
50
|
/**
|
|
51
51
|
* Get events distribution by type filtered by query
|
|
52
52
|
*/
|