@shieldiot/ngx-pulseiot-lib 2.18.1329 → 2.18.1332
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/DeviceActionCode.mjs +1 -5
- package/esm2022/lib/model/Insight.mjs +1 -1
- package/esm2022/lib/model/Integration.mjs +1 -3
- package/esm2022/lib/model/IntegrationTemplate.mjs +1 -7
- package/esm2022/lib/model/IntegrationTriggerCode.mjs +2 -2
- package/esm2022/lib/model/IntegrationTypeCode.mjs +2 -6
- package/esm2022/lib/model/index.mjs +1 -4
- package/esm2022/lib/services/SysIntegrationTemplatesService.mjs +2 -5
- package/esm2022/lib/services/UsrDevicesService.mjs +4 -1
- package/esm2022/lib/services/UsrIntegrationsService.mjs +2 -2
- package/esm2022/lib/services/index.mjs +1 -8
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +8 -449
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/model/DeviceActionCode.d.ts +1 -2
- package/lib/model/Insight.d.ts +2 -2
- package/lib/model/Integration.d.ts +2 -4
- package/lib/model/IntegrationTemplate.d.ts +0 -7
- package/lib/model/IntegrationTypeCode.d.ts +1 -2
- package/lib/model/index.d.ts +0 -3
- package/lib/services/SysIntegrationTemplatesService.d.ts +1 -1
- package/lib/services/UsrIntegrationsService.d.ts +1 -1
- package/lib/services/index.d.ts +0 -7
- package/package.json +1 -1
- package/esm2022/lib/model/StixCollection.mjs +0 -21
- package/esm2022/lib/model/StixCollectionView.mjs +0 -21
- package/esm2022/lib/model/StixIndicator.mjs +0 -32
- package/esm2022/lib/services/ConfigService.mjs +0 -36
- package/esm2022/lib/services/SysIntegrationsService.mjs +0 -132
- package/esm2022/lib/services/TaxiiApiRootService.mjs +0 -36
- package/esm2022/lib/services/TaxiiCollectionsService.mjs +0 -42
- package/esm2022/lib/services/TaxiiDiscoveryService.mjs +0 -35
- package/esm2022/lib/services/TaxiiManifestService.mjs +0 -49
- package/esm2022/lib/services/TaxiiObjectsService.mjs +0 -62
- package/lib/model/StixCollection.d.ts +0 -12
- package/lib/model/StixCollectionView.d.ts +0 -11
- package/lib/model/StixIndicator.d.ts +0 -22
- package/lib/services/ConfigService.d.ts +0 -16
- package/lib/services/SysIntegrationsService.d.ts +0 -63
- package/lib/services/TaxiiApiRootService.d.ts +0 -15
- package/lib/services/TaxiiCollectionsService.d.ts +0 -19
- package/lib/services/TaxiiDiscoveryService.d.ts +0 -15
- package/lib/services/TaxiiManifestService.d.ts +0 -17
- package/lib/services/TaxiiObjectsService.d.ts +0 -20
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Injectable, Inject } from '@angular/core';
|
|
2
|
-
import { APP_CONFIG } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../rest-utils";
|
|
5
|
-
import * as i2 from "../../config";
|
|
6
|
-
// TaxiiObjectsEndPoint serves the TAXII 2.1 Get Objects + Get Object resources.
|
|
7
|
-
// This is the hot path that customer firewalls poll on their configured
|
|
8
|
-
// interval (typically 1–15 min).
|
|
9
|
-
export class TaxiiObjectsService {
|
|
10
|
-
// Class constructor
|
|
11
|
-
constructor(config, rest) {
|
|
12
|
-
this.config = config;
|
|
13
|
-
this.rest = rest;
|
|
14
|
-
// URL to web api
|
|
15
|
-
this.baseUrl = '/taxii2/default/collections/:id/objects';
|
|
16
|
-
this.baseUrl = this.config.api + this.baseUrl;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* list returns a TAXII 2.1 envelope of STIX indicators added or modified
|
|
20
|
-
* after the given `added_after` timestamp, paginated via `limit` + `next`.
|
|
21
|
-
*/
|
|
22
|
-
list(id, added_after, limit, next, matchType, matchId, matchSpecVersion) {
|
|
23
|
-
const params = [];
|
|
24
|
-
if (added_after != null) {
|
|
25
|
-
params.push(`added_after=${added_after}`);
|
|
26
|
-
}
|
|
27
|
-
if (limit != null) {
|
|
28
|
-
params.push(`limit=${limit}`);
|
|
29
|
-
}
|
|
30
|
-
if (next != null) {
|
|
31
|
-
params.push(`next=${next}`);
|
|
32
|
-
}
|
|
33
|
-
if (matchType != null) {
|
|
34
|
-
params.push(`match[type]=${encodeURIComponent(matchType)}`);
|
|
35
|
-
}
|
|
36
|
-
if (matchId != null) {
|
|
37
|
-
params.push(`match[id]=${encodeURIComponent(matchId)}`);
|
|
38
|
-
}
|
|
39
|
-
if (matchSpecVersion != null) {
|
|
40
|
-
params.push(`match[spec_version]=${encodeURIComponent(matchSpecVersion)}`);
|
|
41
|
-
}
|
|
42
|
-
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* get returns a single STIX object by id.
|
|
46
|
-
*/
|
|
47
|
-
get(id, objectId) {
|
|
48
|
-
return this.rest.get(`${this.baseUrl}/${objectId}`);
|
|
49
|
-
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TaxiiObjectsService, deps: [{ token: APP_CONFIG }, { token: i1.RestUtils }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TaxiiObjectsService, providedIn: 'root' }); }
|
|
52
|
-
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TaxiiObjectsService, decorators: [{
|
|
54
|
-
type: Injectable,
|
|
55
|
-
args: [{
|
|
56
|
-
providedIn: 'root'
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: () => [{ type: i2.AppConfig, decorators: [{
|
|
59
|
-
type: Inject,
|
|
60
|
-
args: [APP_CONFIG]
|
|
61
|
-
}] }, { type: i1.RestUtils }] });
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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YW1zLnB1c2goYG1hdGNoW3NwZWNfdmVyc2lvbl09JHtlbmNvZGVVUklDb21wb25lbnQobWF0Y2hTcGVjVmVyc2lvbil9YCk7IH1cblxuICAgIHJldHVybiB0aGlzLnJlc3QuZ2V0PG9iamVjdD4oYCR7dGhpcy5iYXNlVXJsfWAsIC4uLnBhcmFtcyk7XG4gIH1cblxuXG4gIC8qKlxuICAgKiBnZXQgcmV0dXJucyBhIHNpbmdsZSBTVElYIG9iamVjdCBieSBpZC5cbiAgICovXG4gIGdldChpZD86IHN0cmluZywgb2JqZWN0SWQ/OiBzdHJpbmcpIHtcbiAgICByZXR1cm4gdGhpcy5yZXN0LmdldDxvYmplY3Q+KGAke3RoaXMuYmFzZVVybH0vJHtvYmplY3RJZH1gKTtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './BaseEntity';
|
|
2
|
-
import { ColumnDef } from './ColumnDef';
|
|
3
|
-
export declare class StixCollection extends BaseEntity {
|
|
4
|
-
accountId: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
mediaTypes: string[];
|
|
8
|
-
bearerTokenHash: string;
|
|
9
|
-
tokenPrefix: string;
|
|
10
|
-
apiRoot: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function GetStixCollectionColumnsDef(): ColumnDef[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './BaseEntity';
|
|
2
|
-
import { ColumnDef } from './ColumnDef';
|
|
3
|
-
export declare class StixCollectionView extends BaseEntity {
|
|
4
|
-
accountId: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
mediaTypes: string[];
|
|
8
|
-
apiRoot: string;
|
|
9
|
-
publicUrl: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function GetStixCollectionViewColumnsDef(): ColumnDef[];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseEntity } from './BaseEntity';
|
|
2
|
-
import { ColumnDef } from './ColumnDef';
|
|
3
|
-
export declare class StixIndicator extends BaseEntity {
|
|
4
|
-
accountId: string;
|
|
5
|
-
collectionId: string;
|
|
6
|
-
ipValue: string;
|
|
7
|
-
ipVersion: number;
|
|
8
|
-
pattern: string;
|
|
9
|
-
sourceEventId: string;
|
|
10
|
-
sourceDeviceId: string;
|
|
11
|
-
dateAdded: number;
|
|
12
|
-
modified: number;
|
|
13
|
-
validFrom: number;
|
|
14
|
-
validUntil: number;
|
|
15
|
-
revoked: boolean;
|
|
16
|
-
revokedAt: number;
|
|
17
|
-
version: number;
|
|
18
|
-
name: string;
|
|
19
|
-
description: string;
|
|
20
|
-
indicatorTypes: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function GetStixIndicatorColumnsDef(): ColumnDef[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ConfigService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* getLogoImage returns the telco logo image as PNG
|
|
11
|
-
* Fallback logic: TELCO_LOGO -> TELCO_LOGO_DARK -> default system logo
|
|
12
|
-
*/
|
|
13
|
-
getLogoImage(): import("rxjs").Observable<Blob>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
16
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
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(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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaxiiApiRootService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* apiRoot returns the TAXII 2.1 API Root information resource.
|
|
11
|
-
*/
|
|
12
|
-
apiRoot(): import("rxjs").Observable<object>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiApiRootService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiApiRootService>;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaxiiCollectionsService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* list returns all collections visible to the authenticated caller (one in v1).
|
|
11
|
-
*/
|
|
12
|
-
list(): import("rxjs").Observable<object>;
|
|
13
|
-
/**
|
|
14
|
-
* get returns the metadata for a single collection identified by id.
|
|
15
|
-
*/
|
|
16
|
-
get(id?: string): import("rxjs").Observable<object>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiCollectionsService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiCollectionsService>;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaxiiDiscoveryService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* discovery returns the TAXII 2.1 Discovery resource.
|
|
11
|
-
*/
|
|
12
|
-
discovery(): import("rxjs").Observable<object>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiDiscoveryService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiDiscoveryService>;
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaxiiManifestService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* list returns the TAXII 2.1 manifest envelope for the indicators in this
|
|
11
|
-
* collection that match the given `added_after`, `limit`, `next`, and
|
|
12
|
-
* `match[*]` filters.
|
|
13
|
-
*/
|
|
14
|
-
list(id?: string, added_after?: string, limit?: number, next?: string): import("rxjs").Observable<object>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiManifestService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiManifestService>;
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { RestUtils } from '../../rest-utils';
|
|
2
|
-
import { AppConfig } from '../../config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaxiiObjectsService {
|
|
5
|
-
private config;
|
|
6
|
-
private rest;
|
|
7
|
-
private baseUrl;
|
|
8
|
-
constructor(config: AppConfig, rest: RestUtils);
|
|
9
|
-
/**
|
|
10
|
-
* list returns a TAXII 2.1 envelope of STIX indicators added or modified
|
|
11
|
-
* after the given `added_after` timestamp, paginated via `limit` + `next`.
|
|
12
|
-
*/
|
|
13
|
-
list(id?: string, added_after?: string, limit?: number, next?: string, matchType?: string, matchId?: string, matchSpecVersion?: string): import("rxjs").Observable<object>;
|
|
14
|
-
/**
|
|
15
|
-
* get returns a single STIX object by id.
|
|
16
|
-
*/
|
|
17
|
-
get(id?: string, objectId?: string): import("rxjs").Observable<object>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaxiiObjectsService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaxiiObjectsService>;
|
|
20
|
-
}
|