@harnessio/react-chaos-manager-client 1.80.1 → 1.80.2

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.
@@ -1,6 +1,13 @@
1
1
  import type { ProbeMetrics } from '../schemas/ProbeMetrics';
2
2
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDynatraceApmProbeInputs {
3
+ aggregation?: string;
3
4
  connectorID?: string;
5
+ dqlQuery?: string;
4
6
  durationInMin?: {};
5
7
  metrics?: ProbeMetrics;
8
+ /**
9
+ * Grail (DQL) query fields. Optional and backward compatible; when QueryType is "grail"
10
+ * (or DqlQuery is set) the probe runs against Grail instead of the classic Metrics v2 API.
11
+ */
12
+ queryType?: string;
6
13
  }
@@ -1,6 +1,9 @@
1
1
  import type { ProbeDynatraceMetricsTemplate } from '../schemas/ProbeDynatraceMetricsTemplate';
2
2
  export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs {
3
+ aggregation?: string;
3
4
  connectorID?: string;
5
+ dqlQuery?: string;
4
6
  durationInMin?: {};
5
7
  metrics?: ProbeDynatraceMetricsTemplate;
8
+ queryType?: string;
6
9
  }
@@ -1,5 +1,6 @@
1
1
  import type { RiskCategory } from '../schemas/RiskCategory';
2
2
  import type { RiskSeverity } from '../schemas/RiskSeverity';
3
+ import type { RiskScanType } from '../schemas/RiskScanType';
3
4
  import type { ScannedrisksRiskStatus } from '../schemas/ScannedrisksRiskStatus';
4
5
  import type { RiskTargetService } from '../schemas/RiskTargetService';
5
6
  import type { ScannedrisksValidationType } from '../schemas/ScannedrisksValidationType';
@@ -13,7 +14,26 @@ export interface ScannedrisksScannedRiskSpec {
13
14
  riskRuleId?: string;
14
15
  riskRuleName?: string;
15
16
  severity?: RiskSeverity;
17
+ /**
18
+ * Sources is the deduplicated set of scan sources (e.g. DiscoveryAgent,
19
+ * PipelineExecution, ProbeExecution) across all of this risk's occurrences.
20
+ * Maintained via $addToSet on every occurrence write so filtering by source
21
+ * no longer needs to query the riskOccurrences collection.
22
+ */
23
+ sources?: RiskScanType[];
16
24
  status?: ScannedrisksRiskStatus;
17
25
  targetService?: RiskTargetService;
26
+ /**
27
+ * ValidationType reflects only the most recently written occurrence's
28
+ * validation type. Prefer ValidationTypes for filtering, since a risk can
29
+ * have both Confirmed and Passive occurrences over its lifetime.
30
+ */
18
31
  validationType?: ScannedrisksValidationType;
32
+ /**
33
+ * ValidationTypes is the deduplicated set of validation types (Confirmed,
34
+ * Passive) across all of this risk's occurrences. Maintained via $addToSet
35
+ * on every occurrence write, unlike the single-value ValidationType field
36
+ * above which only reflects the latest occurrence.
37
+ */
38
+ validationTypes?: ScannedrisksValidationType[];
19
39
  }
@@ -1,5 +1,13 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics';
2
2
  export interface V1DynatraceApmProbeInputs {
3
+ /**
4
+ * Aggregation collapses the returned datapoints to a single value ("mean"|"max"|"min"|"last"; default mean).
5
+ */
6
+ aggregation?: string;
7
+ /**
8
+ * DqlQuery is the raw DQL executed against Grail. Used only when QueryType is "grail".
9
+ */
10
+ dqlQuery?: string;
3
11
  /**
4
12
  * DurationInMin contains the duration in minutes
5
13
  */
@@ -12,4 +20,8 @@ export interface V1DynatraceApmProbeInputs {
12
20
  * Raw metrics details of the Dynatrace probe
13
21
  */
14
22
  metrics?: GithubComHarnessHceSaasHceSdkCommonProbeV1Metrics;
23
+ /**
24
+ * QueryType selects the Dynatrace query path ("classic" or "grail"). Empty defaults to classic.
25
+ */
26
+ queryType?: string;
15
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.80.1",
3
+ "version": "1.80.2",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",