File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @al/iris" ,
3- "version" : " 2.0.87 " ,
3+ "version" : " 2.0.88 " ,
44 "license" : " MIT" ,
55 "description" : " A client for interacting with the Alert Logic Iris Public API" ,
66 "author" : {
Original file line number Diff line number Diff line change @@ -1296,6 +1296,22 @@ export class AlIrisClientV3Instance extends AlIrisClientInstance {
12961296 } ) ;
12971297 }
12981298
1299+ /**
1300+ * this endpoint enable Customers/Analysts to request Enrichment of a specific type “on-demand”
1301+ * GET
1302+ * /iris/v3/on_demand_enrichment/<enrichment_type>/<value>
1303+ * @param enrichment_type
1304+ * @param value
1305+ */
1306+ public getEnrichmentOnDemand ( enrichmentType : string , value : string ) : Promise < unknown > {
1307+ return this . client . get < any [ ] > ( {
1308+ service_stack : AlLocation . InsightAPI ,
1309+ service_name : this . serviceName ,
1310+ version : this . serviceVersion ,
1311+ path : `on_demand_enrichment/${ enrichmentType } /${ value } ` ,
1312+ } ) ;
1313+ }
1314+
12991315 /**
13001316 * The latest evidence functionality allows for an incident generated from a Real Time Analytic (RTA) to be queried for data for up to 24hrs after the incident was created.
13011317 * Return an object with the request status
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export interface MetaDataDictionary {
3636 "incident-history-types" :{ [ i :string ] :string } ;
3737 "log-types" :{ [ i :string ] :string } ;
3838 "sourceMap" :{ [ i :string ] :string } ;
39+ "enrichment_type" :{ [ i :string ] :string } ;
3940}
4041
4142/**
You can’t perform that action at this time.
0 commit comments