@shieldiot/ngx-pulseiot-lib 2.18.1287 → 2.18.1294
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/model/Insight.mjs +1 -1
- package/esm2022/lib/services/SysIntegrationsService.mjs +135 -0
- package/esm2022/lib/services/index.mjs +2 -1
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +131 -1
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/model/Insight.d.ts +2 -2
- package/lib/services/SysIntegrationsService.d.ts +63 -0
- package/lib/services/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/model/Insight.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RegulatoryViolation } from './RegulatoryViolation';
|
|
2
|
-
import { MitreAttackCategory } from './MitreAttackCategory';
|
|
3
1
|
import { BaseEntity } from './BaseEntity';
|
|
4
2
|
import { InsightTypeCode } from './InsightTypeCode';
|
|
5
3
|
import { InsightStatusCode } from './InsightStatusCode';
|
|
6
4
|
import { SeverityTypeCode } from './SeverityTypeCode';
|
|
7
5
|
import { DirectionContextCode } from './DirectionContextCode';
|
|
6
|
+
import { RegulatoryViolation } from './RegulatoryViolation';
|
|
7
|
+
import { MitreAttackCategory } from './MitreAttackCategory';
|
|
8
8
|
import { ColumnDef } from './ColumnDef';
|
|
9
9
|
export declare class Insight extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntitiesResponse } from '../model';
|
|
4
|
+
import { StixCollectionView } from '../model';
|
|
5
|
+
import { IntegrationTemplate } from '../model';
|
|
6
|
+
import { Integration } from '../model';
|
|
7
|
+
import { EntityResponse } from '../model';
|
|
8
|
+
import { ActionResponse } from '../model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SysIntegrationsService {
|
|
11
|
+
private config;
|
|
12
|
+
private rest;
|
|
13
|
+
private baseUrl;
|
|
14
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
15
|
+
/**
|
|
16
|
+
* Create new integration configuration
|
|
17
|
+
*/
|
|
18
|
+
create(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
19
|
+
/**
|
|
20
|
+
* Update existing integration configuration
|
|
21
|
+
*/
|
|
22
|
+
update(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete integration configuration
|
|
25
|
+
*/
|
|
26
|
+
delete(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Get a single Integration by id
|
|
29
|
+
*/
|
|
30
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
31
|
+
/**
|
|
32
|
+
* Find integrations by query
|
|
33
|
+
*/
|
|
34
|
+
find(accountId?: string, streamId?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Integration>>;
|
|
35
|
+
/**
|
|
36
|
+
* Validate format of the templates in the fields
|
|
37
|
+
*/
|
|
38
|
+
validate(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
39
|
+
/**
|
|
40
|
+
* Test the integration with pseudo data
|
|
41
|
+
*/
|
|
42
|
+
test(body?: Integration): import("rxjs").Observable<EntityResponse<Integration>>;
|
|
43
|
+
/**
|
|
44
|
+
* Mint or rotate the system STIX/TAXII bearer token. The raw token is returned
|
|
45
|
+
* exactly once; only its bcrypt hash is persisted, so the caller MUST capture
|
|
46
|
+
* it immediately.
|
|
47
|
+
*/
|
|
48
|
+
rotateToken(): import("rxjs").Observable<ActionResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Get the system STIX/TAXII collection view, including the firewall-polling URL.
|
|
51
|
+
*/
|
|
52
|
+
getCollection(): import("rxjs").Observable<EntityResponse<StixCollectionView>>;
|
|
53
|
+
/**
|
|
54
|
+
* Find available integration templates.
|
|
55
|
+
*/
|
|
56
|
+
findTemplates(search?: string, trigger?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
|
|
57
|
+
/**
|
|
58
|
+
* Get a single integration template by id.
|
|
59
|
+
*/
|
|
60
|
+
getTemplate(id?: string): import("rxjs").Observable<EntityResponse<IntegrationTemplate>>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SysIntegrationsService, never>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SysIntegrationsService>;
|
|
63
|
+
}
|
package/lib/services/index.d.ts
CHANGED