harness-mcp-v2 3.2.18 → 3.2.20

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.
Files changed (88) hide show
  1. package/README.md +87 -55
  2. package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
  3. package/build/data/schemas/v0/pipeline.js +852 -177
  4. package/build/data/schemas/v0/pipeline.js.map +1 -1
  5. package/build/data/schemas/v0/template.d.ts.map +1 -1
  6. package/build/data/schemas/v0/template.js +1011 -168
  7. package/build/data/schemas/v0/template.js.map +1 -1
  8. package/build/data/schemas/v0/trigger.d.ts.map +1 -1
  9. package/build/data/schemas/v0/trigger.js +105 -3
  10. package/build/data/schemas/v0/trigger.js.map +1 -1
  11. package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
  12. package/build/data/schemas/v1/pipeline.js +259 -61
  13. package/build/data/schemas/v1/pipeline.js.map +1 -1
  14. package/build/data/schemas/v1/template.d.ts.map +1 -1
  15. package/build/data/schemas/v1/template.js +712 -506
  16. package/build/data/schemas/v1/template.js.map +1 -1
  17. package/build/prompts/feature-flag-rollout.d.ts.map +1 -1
  18. package/build/prompts/feature-flag-rollout.js +19 -8
  19. package/build/prompts/feature-flag-rollout.js.map +1 -1
  20. package/build/registry/extractors.d.ts +57 -10
  21. package/build/registry/extractors.d.ts.map +1 -1
  22. package/build/registry/extractors.js +213 -27
  23. package/build/registry/extractors.js.map +1 -1
  24. package/build/registry/index.d.ts.map +1 -1
  25. package/build/registry/index.js +42 -23
  26. package/build/registry/index.js.map +1 -1
  27. package/build/registry/list-filter-utils.d.ts +8 -0
  28. package/build/registry/list-filter-utils.d.ts.map +1 -0
  29. package/build/registry/list-filter-utils.js +50 -0
  30. package/build/registry/list-filter-utils.js.map +1 -0
  31. package/build/registry/scope-utils.d.ts +45 -0
  32. package/build/registry/scope-utils.d.ts.map +1 -1
  33. package/build/registry/scope-utils.js +78 -0
  34. package/build/registry/scope-utils.js.map +1 -1
  35. package/build/registry/toolsets/ccm.d.ts.map +1 -1
  36. package/build/registry/toolsets/ccm.js +349 -6
  37. package/build/registry/toolsets/ccm.js.map +1 -1
  38. package/build/registry/toolsets/chaos-descriptions.d.ts +72 -20
  39. package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
  40. package/build/registry/toolsets/chaos-descriptions.js +435 -140
  41. package/build/registry/toolsets/chaos-descriptions.js.map +1 -1
  42. package/build/registry/toolsets/chaos.d.ts.map +1 -1
  43. package/build/registry/toolsets/chaos.js +967 -193
  44. package/build/registry/toolsets/chaos.js.map +1 -1
  45. package/build/registry/toolsets/feature-flags.d.ts.map +1 -1
  46. package/build/registry/toolsets/feature-flags.js +670 -73
  47. package/build/registry/toolsets/feature-flags.js.map +1 -1
  48. package/build/registry/toolsets/governance.d.ts.map +1 -1
  49. package/build/registry/toolsets/governance.js +4 -0
  50. package/build/registry/toolsets/governance.js.map +1 -1
  51. package/build/registry/toolsets/iacm.d.ts.map +1 -1
  52. package/build/registry/toolsets/iacm.js +595 -11
  53. package/build/registry/toolsets/iacm.js.map +1 -1
  54. package/build/registry/toolsets/infrastructure.d.ts.map +1 -1
  55. package/build/registry/toolsets/infrastructure.js +30 -5
  56. package/build/registry/toolsets/infrastructure.js.map +1 -1
  57. package/build/registry/toolsets/pipelines.js +1 -1
  58. package/build/registry/toolsets/pipelines.js.map +1 -1
  59. package/build/registry/toolsets/sto.d.ts.map +1 -1
  60. package/build/registry/toolsets/sto.js +99 -22
  61. package/build/registry/toolsets/sto.js.map +1 -1
  62. package/build/registry/types.d.ts +50 -2
  63. package/build/registry/types.d.ts.map +1 -1
  64. package/build/tools/harness-create.d.ts.map +1 -1
  65. package/build/tools/harness-create.js +5 -1
  66. package/build/tools/harness-create.js.map +1 -1
  67. package/build/tools/harness-delete.d.ts.map +1 -1
  68. package/build/tools/harness-delete.js +5 -1
  69. package/build/tools/harness-delete.js.map +1 -1
  70. package/build/tools/harness-execute.d.ts.map +1 -1
  71. package/build/tools/harness-execute.js +15 -9
  72. package/build/tools/harness-execute.js.map +1 -1
  73. package/build/tools/harness-get.d.ts.map +1 -1
  74. package/build/tools/harness-get.js +5 -1
  75. package/build/tools/harness-get.js.map +1 -1
  76. package/build/tools/harness-list.d.ts.map +1 -1
  77. package/build/tools/harness-list.js +8 -7
  78. package/build/tools/harness-list.js.map +1 -1
  79. package/build/tools/harness-update.d.ts.map +1 -1
  80. package/build/tools/harness-update.js +5 -1
  81. package/build/tools/harness-update.js.map +1 -1
  82. package/build/utils/compact.js +1 -1
  83. package/build/utils/compact.js.map +1 -1
  84. package/build/utils/url-parser.d.ts.map +1 -1
  85. package/build/utils/url-parser.js +22 -0
  86. package/build/utils/url-parser.js.map +1 -1
  87. package/npm-shrinkwrap.json +2 -2
  88. package/package.json +1 -1
@@ -7325,6 +7325,10 @@ const schema = {
7325
7325
  },
7326
7326
  {
7327
7327
  "$ref": "#/definitions/pipeline/steps/common/common-jexl"
7328
+ },
7329
+ {
7330
+ "type": "string",
7331
+ "pattern": "^$"
7328
7332
  }
7329
7333
  ]
7330
7334
  },
@@ -29255,7 +29259,8 @@ const schema = {
29255
29259
  "config": {
29256
29260
  "type": "string",
29257
29261
  "enum": [
29258
- "hunt",
29262
+ "hunt_full",
29263
+ "hunt_incremental",
29259
29264
  "scan"
29260
29265
  ]
29261
29266
  },
@@ -29381,7 +29386,8 @@ const schema = {
29381
29386
  "config": {
29382
29387
  "type": "string",
29383
29388
  "enum": [
29384
- "hunt",
29389
+ "hunt_full",
29390
+ "hunt_incremental",
29385
29391
  "scan"
29386
29392
  ]
29387
29393
  },
@@ -55662,6 +55668,18 @@ const schema = {
55662
55668
  "minLength": 1
55663
55669
  }
55664
55670
  ]
55671
+ },
55672
+ "filters": {
55673
+ "oneOf": [
55674
+ {
55675
+ "$ref": "#/definitions/pipeline/steps/iacm/AnsibleFilters"
55676
+ },
55677
+ {
55678
+ "type": "string",
55679
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
55680
+ "minLength": 1
55681
+ }
55682
+ ]
55665
55683
  }
55666
55684
  }
55667
55685
  }
@@ -55719,9 +55737,64 @@ const schema = {
55719
55737
  "items": {
55720
55738
  "$ref": "#/definitions/pipeline/steps/iacm/ImportCommandParameterField"
55721
55739
  }
55740
+ },
55741
+ "filters": {
55742
+ "oneOf": [
55743
+ {
55744
+ "$ref": "#/definitions/pipeline/steps/iacm/AnsibleFilters"
55745
+ },
55746
+ {
55747
+ "type": "string",
55748
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
55749
+ "minLength": 1
55750
+ }
55751
+ ]
55722
55752
  }
55723
55753
  }
55724
55754
  },
55755
+ "AnsibleFilters": {
55756
+ "title": "AnsibleFilters",
55757
+ "type": "object",
55758
+ "properties": {
55759
+ "tags": {
55760
+ "description": "Only run tasks and roles carrying one of these tags.",
55761
+ "oneOf": [
55762
+ {
55763
+ "type": "array",
55764
+ "items": {
55765
+ "type": "string"
55766
+ }
55767
+ },
55768
+ {
55769
+ "type": "string",
55770
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
55771
+ "minLength": 1
55772
+ }
55773
+ ]
55774
+ },
55775
+ "skipTags": {
55776
+ "description": "Skip tasks and roles carrying one of these tags. Takes precedence over tags.",
55777
+ "oneOf": [
55778
+ {
55779
+ "type": "array",
55780
+ "items": {
55781
+ "type": "string"
55782
+ }
55783
+ },
55784
+ {
55785
+ "type": "string",
55786
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
55787
+ "minLength": 1
55788
+ }
55789
+ ]
55790
+ },
55791
+ "limit": {
55792
+ "description": "Restrict the run to matching hosts. A single ansible host pattern, e.g. \"web,db:!staging\".",
55793
+ "type": "string"
55794
+ }
55795
+ },
55796
+ "$schema": "http://json-schema.org/draft-07/schema#"
55797
+ },
55725
55798
  "IACMRemediationAgentStepNode": {
55726
55799
  "title": "IACMRemediationAgentStepNode",
55727
55800
  "type": "object",
@@ -55857,6 +55930,23 @@ const schema = {
55857
55930
  },
55858
55931
  "llmConnectorRef": {
55859
55932
  "type": "string"
55933
+ },
55934
+ "resourceAddresses": {
55935
+ "oneOf": [
55936
+ {
55937
+ "type": "array",
55938
+ "items": {
55939
+ "type": "string"
55940
+ }
55941
+ },
55942
+ {
55943
+ "type": "string",
55944
+ "pattern": "^<\\+.*>$"
55945
+ }
55946
+ ]
55947
+ },
55948
+ "insightId": {
55949
+ "type": "string"
55860
55950
  }
55861
55951
  }
55862
55952
  }
@@ -55895,115 +55985,8 @@ const schema = {
55895
55985
  },
55896
55986
  "llmConnectorRef": {
55897
55987
  "type": "string"
55898
- }
55899
- }
55900
- }
55901
- },
55902
- "cd": {
55903
- "MergePRStepNode": {
55904
- "title": "MergePRStepNode",
55905
- "type": "object",
55906
- "required": [
55907
- "identifier",
55908
- "name",
55909
- "spec",
55910
- "type"
55911
- ],
55912
- "properties": {
55913
- "description": {
55914
- "type": "string",
55915
- "desc": "This is the description for MergePRStepNode"
55916
- },
55917
- "enforce": {
55918
- "$ref": "#/definitions/pipeline/common/PolicyConfig"
55919
55988
  },
55920
- "failureStrategies": {
55921
- "oneOf": [
55922
- {
55923
- "type": "array",
55924
- "items": {
55925
- "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
55926
- }
55927
- },
55928
- {
55929
- "type": "string",
55930
- "pattern": "^<\\+input>$",
55931
- "minLength": 1
55932
- }
55933
- ]
55934
- },
55935
- "identifier": {
55936
- "type": "string",
55937
- "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
55938
- },
55939
- "name": {
55940
- "type": "string",
55941
- "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
55942
- },
55943
- "strategy": {
55944
- "oneOf": [
55945
- {
55946
- "$ref": "#/definitions/pipeline/common/StrategyConfig"
55947
- },
55948
- {
55949
- "type": "string",
55950
- "pattern": "^<\\+input>$",
55951
- "minLength": 1
55952
- }
55953
- ]
55954
- },
55955
- "timeout": {
55956
- "type": "string",
55957
- "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
55958
- },
55959
- "type": {
55960
- "type": "string",
55961
- "enum": [
55962
- "MergePR"
55963
- ]
55964
- },
55965
- "when": {
55966
- "oneOf": [
55967
- {
55968
- "$ref": "#/definitions/pipeline/common/StepWhenCondition"
55969
- },
55970
- {
55971
- "type": "string",
55972
- "pattern": "^<\\+input>$",
55973
- "minLength": 1
55974
- }
55975
- ]
55976
- }
55977
- },
55978
- "$schema": "http://json-schema.org/draft-07/schema#",
55979
- "allOf": [
55980
- {
55981
- "if": {
55982
- "properties": {
55983
- "type": {
55984
- "const": "MergePR"
55985
- }
55986
- }
55987
- },
55988
- "then": {
55989
- "properties": {
55990
- "spec": {
55991
- "$ref": "#/definitions/pipeline/steps/cd/MergePRStepInfo"
55992
- }
55993
- }
55994
- }
55995
- }
55996
- ]
55997
- },
55998
- "MergePRStepInfo": {
55999
- "title": "MergePRStepInfo",
56000
- "$schema": "http://json-schema.org/draft-07/schema#",
56001
- "type": "object",
56002
- "required": [
56003
- "deleteSourceBranch"
56004
- ],
56005
- "properties": {
56006
- "delegateSelectors": {
55989
+ "resourceAddresses": {
56007
55990
  "oneOf": [
56008
55991
  {
56009
55992
  "type": "array",
@@ -56013,74 +55996,19 @@ const schema = {
56013
55996
  },
56014
55997
  {
56015
55998
  "type": "string",
56016
- "pattern": "(<\\+.+>.*)",
56017
- "minLength": 1
56018
- }
56019
- ]
56020
- },
56021
- "deleteSourceBranch": {
56022
- "oneOf": [
56023
- {
56024
- "type": "boolean"
56025
- },
56026
- {
56027
- "type": "string"
56028
- }
56029
- ]
56030
- },
56031
- "disableGitRestraint": {
56032
- "oneOf": [
56033
- {
56034
- "type": "boolean"
56035
- },
56036
- {
56037
- "type": "string",
56038
- "pattern": "(<\\+.+>.*)",
56039
- "minLength": 1
56040
- }
56041
- ]
56042
- },
56043
- "mergeStrategy": {
56044
- "description": "Merge strategy to use when merging the PR. Allowed values: merge, squash. Default: merge",
56045
- "oneOf": [
56046
- {
56047
- "type": "string",
56048
- "enum": [
56049
- "merge",
56050
- "squash"
56051
- ]
56052
- },
56053
- {
56054
- "type": "string",
56055
- "pattern": "(<\\+.+>.*)",
56056
- "minLength": 1
55999
+ "pattern": "^<\\+.*>$"
56057
56000
  }
56058
56001
  ]
56059
56002
  },
56060
- "variables": {
56061
- "type": "array",
56062
- "items": {
56063
- "oneOf": [
56064
- {
56065
- "$ref": "#/definitions/pipeline/common/NumberNGVariable"
56066
- },
56067
- {
56068
- "$ref": "#/definitions/pipeline/common/SecretNGVariable"
56069
- },
56070
- {
56071
- "$ref": "#/definitions/pipeline/common/StringNGVariable"
56072
- }
56073
- ]
56074
- }
56075
- },
56076
- "description": {
56077
- "desc": "This is the description for MergePRStepInfo"
56003
+ "insightId": {
56004
+ "type": "string"
56078
56005
  }
56079
- },
56080
- "$ref": "#/definitions/pipeline/common/StepSpecType"
56081
- },
56082
- "HelmDeployStepNode": {
56083
- "title": "HelmDeployStepNode",
56006
+ }
56007
+ }
56008
+ },
56009
+ "cd": {
56010
+ "MergePRStepNode": {
56011
+ "title": "MergePRStepNode",
56084
56012
  "type": "object",
56085
56013
  "required": [
56086
56014
  "identifier",
@@ -56091,7 +56019,186 @@ const schema = {
56091
56019
  "properties": {
56092
56020
  "description": {
56093
56021
  "type": "string",
56094
- "desc": "This is the description for HelmDeployStepNode"
56022
+ "desc": "This is the description for MergePRStepNode"
56023
+ },
56024
+ "enforce": {
56025
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
56026
+ },
56027
+ "failureStrategies": {
56028
+ "oneOf": [
56029
+ {
56030
+ "type": "array",
56031
+ "items": {
56032
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
56033
+ }
56034
+ },
56035
+ {
56036
+ "type": "string",
56037
+ "pattern": "^<\\+input>$",
56038
+ "minLength": 1
56039
+ }
56040
+ ]
56041
+ },
56042
+ "identifier": {
56043
+ "type": "string",
56044
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
56045
+ },
56046
+ "name": {
56047
+ "type": "string",
56048
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
56049
+ },
56050
+ "strategy": {
56051
+ "oneOf": [
56052
+ {
56053
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
56054
+ },
56055
+ {
56056
+ "type": "string",
56057
+ "pattern": "^<\\+input>$",
56058
+ "minLength": 1
56059
+ }
56060
+ ]
56061
+ },
56062
+ "timeout": {
56063
+ "type": "string",
56064
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
56065
+ },
56066
+ "type": {
56067
+ "type": "string",
56068
+ "enum": [
56069
+ "MergePR"
56070
+ ]
56071
+ },
56072
+ "when": {
56073
+ "oneOf": [
56074
+ {
56075
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
56076
+ },
56077
+ {
56078
+ "type": "string",
56079
+ "pattern": "^<\\+input>$",
56080
+ "minLength": 1
56081
+ }
56082
+ ]
56083
+ }
56084
+ },
56085
+ "$schema": "http://json-schema.org/draft-07/schema#",
56086
+ "allOf": [
56087
+ {
56088
+ "if": {
56089
+ "properties": {
56090
+ "type": {
56091
+ "const": "MergePR"
56092
+ }
56093
+ }
56094
+ },
56095
+ "then": {
56096
+ "properties": {
56097
+ "spec": {
56098
+ "$ref": "#/definitions/pipeline/steps/cd/MergePRStepInfo"
56099
+ }
56100
+ }
56101
+ }
56102
+ }
56103
+ ]
56104
+ },
56105
+ "MergePRStepInfo": {
56106
+ "title": "MergePRStepInfo",
56107
+ "$schema": "http://json-schema.org/draft-07/schema#",
56108
+ "type": "object",
56109
+ "required": [
56110
+ "deleteSourceBranch"
56111
+ ],
56112
+ "properties": {
56113
+ "delegateSelectors": {
56114
+ "oneOf": [
56115
+ {
56116
+ "type": "array",
56117
+ "items": {
56118
+ "type": "string"
56119
+ }
56120
+ },
56121
+ {
56122
+ "type": "string",
56123
+ "pattern": "(<\\+.+>.*)",
56124
+ "minLength": 1
56125
+ }
56126
+ ]
56127
+ },
56128
+ "deleteSourceBranch": {
56129
+ "oneOf": [
56130
+ {
56131
+ "type": "boolean"
56132
+ },
56133
+ {
56134
+ "type": "string"
56135
+ }
56136
+ ]
56137
+ },
56138
+ "disableGitRestraint": {
56139
+ "oneOf": [
56140
+ {
56141
+ "type": "boolean"
56142
+ },
56143
+ {
56144
+ "type": "string",
56145
+ "pattern": "(<\\+.+>.*)",
56146
+ "minLength": 1
56147
+ }
56148
+ ]
56149
+ },
56150
+ "mergeStrategy": {
56151
+ "description": "Merge strategy to use when merging the PR. Allowed values: merge, squash. Default: merge",
56152
+ "oneOf": [
56153
+ {
56154
+ "type": "string",
56155
+ "enum": [
56156
+ "merge",
56157
+ "squash"
56158
+ ]
56159
+ },
56160
+ {
56161
+ "type": "string",
56162
+ "pattern": "(<\\+.+>.*)",
56163
+ "minLength": 1
56164
+ }
56165
+ ]
56166
+ },
56167
+ "variables": {
56168
+ "type": "array",
56169
+ "items": {
56170
+ "oneOf": [
56171
+ {
56172
+ "$ref": "#/definitions/pipeline/common/NumberNGVariable"
56173
+ },
56174
+ {
56175
+ "$ref": "#/definitions/pipeline/common/SecretNGVariable"
56176
+ },
56177
+ {
56178
+ "$ref": "#/definitions/pipeline/common/StringNGVariable"
56179
+ }
56180
+ ]
56181
+ }
56182
+ },
56183
+ "description": {
56184
+ "desc": "This is the description for MergePRStepInfo"
56185
+ }
56186
+ },
56187
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
56188
+ },
56189
+ "HelmDeployStepNode": {
56190
+ "title": "HelmDeployStepNode",
56191
+ "type": "object",
56192
+ "required": [
56193
+ "identifier",
56194
+ "name",
56195
+ "spec",
56196
+ "type"
56197
+ ],
56198
+ "properties": {
56199
+ "description": {
56200
+ "type": "string",
56201
+ "desc": "This is the description for HelmDeployStepNode"
56095
56202
  },
56096
56203
  "enforce": {
56097
56204
  "$ref": "#/definitions/pipeline/common/PolicyConfig"
@@ -74928,7 +75035,8 @@ const schema = {
74928
75035
  "GoogleMigInstanceTemplate",
74929
75036
  "GoogleMigConfiguration",
74930
75037
  "GoogleMigAutoscalerConfiguration",
74931
- "GoogleMigHealthCheckConfiguration"
75038
+ "GoogleMigHealthCheckConfiguration",
75039
+ "AgentConfig"
74932
75040
  ]
74933
75041
  },
74934
75042
  "description": {
@@ -75448,6 +75556,22 @@ const schema = {
75448
75556
  }
75449
75557
  }
75450
75558
  }
75559
+ },
75560
+ {
75561
+ "if": {
75562
+ "properties": {
75563
+ "type": {
75564
+ "const": "AgentConfig"
75565
+ }
75566
+ }
75567
+ },
75568
+ "then": {
75569
+ "properties": {
75570
+ "spec": {
75571
+ "$ref": "#/definitions/pipeline/steps/cd/AgentConfigManifest"
75572
+ }
75573
+ }
75574
+ }
75451
75575
  }
75452
75576
  ]
75453
75577
  },
@@ -75876,7 +76000,8 @@ const schema = {
75876
76000
  "enum": [
75877
76001
  "V2",
75878
76002
  "V3",
75879
- "V380"
76003
+ "V380",
76004
+ "V4"
75880
76005
  ]
75881
76006
  },
75882
76007
  "metadata": {
@@ -76601,6 +76726,31 @@ const schema = {
76601
76726
  }
76602
76727
  }
76603
76728
  },
76729
+ "AgentConfigManifest": {
76730
+ "title": "AgentConfigManifest",
76731
+ "allOf": [
76732
+ {
76733
+ "$ref": "#/definitions/pipeline/steps/cd/ManifestAttributes"
76734
+ },
76735
+ {
76736
+ "type": "object",
76737
+ "properties": {
76738
+ "metadata": {
76739
+ "type": "string"
76740
+ },
76741
+ "store": {
76742
+ "$ref": "#/definitions/pipeline/steps/cd/StoreConfigWrapper"
76743
+ }
76744
+ }
76745
+ }
76746
+ ],
76747
+ "$schema": "http://json-schema.org/draft-07/schema#",
76748
+ "properties": {
76749
+ "description": {
76750
+ "desc": "This is the description for AgentConfigManifest"
76751
+ }
76752
+ }
76753
+ },
76604
76754
  "ManifestSourceWrapper": {
76605
76755
  "title": "ManifestSourceWrapper",
76606
76756
  "type": "object",
@@ -99933,6 +100083,27 @@ const schema = {
99933
100083
  "minLength": 1
99934
100084
  }
99935
100085
  ]
100086
+ },
100087
+ "downsizeOldService": {
100088
+ "oneOf": [
100089
+ {
100090
+ "type": "boolean"
100091
+ },
100092
+ {
100093
+ "type": "string"
100094
+ }
100095
+ ]
100096
+ },
100097
+ "downsizeOldServiceDelayInSecs": {
100098
+ "oneOf": [
100099
+ {
100100
+ "type": "integer",
100101
+ "format": "int32"
100102
+ },
100103
+ {
100104
+ "type": "string"
100105
+ }
100106
+ ]
99936
100107
  }
99937
100108
  }
99938
100109
  }
@@ -104155,6 +104326,492 @@ const schema = {
104155
104326
  "$schema": "http://json-schema.org/draft-07/schema#"
104156
104327
  }
104157
104328
  },
104329
+ "aisre": {
104330
+ "AisreCreateIncidentStepNode": {
104331
+ "title": "AisreCreateIncidentStepNode",
104332
+ "type": "object",
104333
+ "required": [
104334
+ "identifier",
104335
+ "name",
104336
+ "spec",
104337
+ "type"
104338
+ ],
104339
+ "properties": {
104340
+ "description": {
104341
+ "type": "string",
104342
+ "desc": "This is the description for AisreCreateIncidentStepNode"
104343
+ },
104344
+ "enforce": {
104345
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
104346
+ },
104347
+ "failureStrategies": {
104348
+ "oneOf": [
104349
+ {
104350
+ "type": "array",
104351
+ "items": {
104352
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
104353
+ }
104354
+ },
104355
+ {
104356
+ "type": "string",
104357
+ "pattern": "^<\\+input>$",
104358
+ "minLength": 1
104359
+ }
104360
+ ]
104361
+ },
104362
+ "identifier": {
104363
+ "type": "string",
104364
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
104365
+ },
104366
+ "name": {
104367
+ "type": "string",
104368
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
104369
+ },
104370
+ "strategy": {
104371
+ "oneOf": [
104372
+ {
104373
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
104374
+ },
104375
+ {
104376
+ "type": "string",
104377
+ "pattern": "^<\\+input>$",
104378
+ "minLength": 1
104379
+ }
104380
+ ]
104381
+ },
104382
+ "timeout": {
104383
+ "type": "string",
104384
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
104385
+ },
104386
+ "type": {
104387
+ "type": "string",
104388
+ "enum": [
104389
+ "AISRE_CreateIncident"
104390
+ ]
104391
+ },
104392
+ "when": {
104393
+ "oneOf": [
104394
+ {
104395
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
104396
+ },
104397
+ {
104398
+ "type": "string",
104399
+ "pattern": "^<\\+input>$",
104400
+ "minLength": 1
104401
+ }
104402
+ ]
104403
+ }
104404
+ },
104405
+ "$schema": "http://json-schema.org/draft-07/schema#",
104406
+ "allOf": [
104407
+ {
104408
+ "if": {
104409
+ "properties": {
104410
+ "type": {
104411
+ "const": "AISRE_CreateIncident"
104412
+ }
104413
+ }
104414
+ },
104415
+ "then": {
104416
+ "properties": {
104417
+ "spec": {
104418
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateIncidentStepInfo"
104419
+ }
104420
+ }
104421
+ }
104422
+ }
104423
+ ]
104424
+ },
104425
+ "AisreCreateIncidentStepInfo": {
104426
+ "title": "AisreCreateIncidentStepInfo",
104427
+ "allOf": [
104428
+ {
104429
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
104430
+ },
104431
+ {
104432
+ "type": "object",
104433
+ "required": [
104434
+ "title",
104435
+ "orgIdentifier",
104436
+ "projectIdentifier",
104437
+ "incidentType",
104438
+ "severity",
104439
+ "service"
104440
+ ],
104441
+ "properties": {
104442
+ "title": {
104443
+ "oneOf": [
104444
+ {
104445
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104446
+ },
104447
+ {
104448
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104449
+ }
104450
+ ]
104451
+ },
104452
+ "orgIdentifier": {
104453
+ "oneOf": [
104454
+ {
104455
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104456
+ },
104457
+ {
104458
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104459
+ }
104460
+ ]
104461
+ },
104462
+ "projectIdentifier": {
104463
+ "oneOf": [
104464
+ {
104465
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104466
+ },
104467
+ {
104468
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104469
+ }
104470
+ ]
104471
+ },
104472
+ "incidentType": {
104473
+ "oneOf": [
104474
+ {
104475
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104476
+ },
104477
+ {
104478
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104479
+ }
104480
+ ]
104481
+ },
104482
+ "severity": {
104483
+ "oneOf": [
104484
+ {
104485
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104486
+ },
104487
+ {
104488
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104489
+ }
104490
+ ]
104491
+ },
104492
+ "status": {
104493
+ "oneOf": [
104494
+ {
104495
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104496
+ },
104497
+ {
104498
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104499
+ }
104500
+ ]
104501
+ },
104502
+ "service": {
104503
+ "oneOf": [
104504
+ {
104505
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104506
+ },
104507
+ {
104508
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104509
+ }
104510
+ ]
104511
+ },
104512
+ "environment": {
104513
+ "oneOf": [
104514
+ {
104515
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104516
+ },
104517
+ {
104518
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104519
+ }
104520
+ ]
104521
+ },
104522
+ "description": {
104523
+ "oneOf": [
104524
+ {
104525
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104526
+ },
104527
+ {
104528
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104529
+ }
104530
+ ]
104531
+ },
104532
+ "commanderHarnessUserId": {
104533
+ "oneOf": [
104534
+ {
104535
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104536
+ },
104537
+ {
104538
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104539
+ }
104540
+ ]
104541
+ },
104542
+ "labels": {
104543
+ "description": "Incident labels",
104544
+ "oneOf": [
104545
+ {
104546
+ "type": "array",
104547
+ "items": {
104548
+ "type": "string"
104549
+ }
104550
+ },
104551
+ {
104552
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104553
+ }
104554
+ ]
104555
+ },
104556
+ "attachPipelineContext": {
104557
+ "oneOf": [
104558
+ {
104559
+ "type": "boolean"
104560
+ },
104561
+ {
104562
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104563
+ }
104564
+ ]
104565
+ },
104566
+ "pageOnCall": {
104567
+ "oneOf": [
104568
+ {
104569
+ "type": "boolean"
104570
+ },
104571
+ {
104572
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104573
+ }
104574
+ ]
104575
+ },
104576
+ "additionalImpactedServices": {
104577
+ "description": "Additional impacted Harness service identifiers",
104578
+ "oneOf": [
104579
+ {
104580
+ "type": "array",
104581
+ "items": {
104582
+ "type": "string"
104583
+ }
104584
+ },
104585
+ {
104586
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104587
+ }
104588
+ ]
104589
+ },
104590
+ "fields": {
104591
+ "description": "Incident-type specific fields keyed by field identifier",
104592
+ "oneOf": [
104593
+ {
104594
+ "type": "object",
104595
+ "additionalProperties": {
104596
+ "type": "string"
104597
+ }
104598
+ },
104599
+ {
104600
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104601
+ }
104602
+ ]
104603
+ }
104604
+ }
104605
+ }
104606
+ ],
104607
+ "$schema": "http://json-schema.org/draft-07/schema#"
104608
+ },
104609
+ "AisreCreateAlertStepNode": {
104610
+ "title": "AisreCreateAlertStepNode",
104611
+ "type": "object",
104612
+ "required": [
104613
+ "identifier",
104614
+ "name",
104615
+ "spec",
104616
+ "type"
104617
+ ],
104618
+ "properties": {
104619
+ "description": {
104620
+ "type": "string",
104621
+ "desc": "This is the description for AisreCreateAlertStepNode"
104622
+ },
104623
+ "enforce": {
104624
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
104625
+ },
104626
+ "failureStrategies": {
104627
+ "oneOf": [
104628
+ {
104629
+ "type": "array",
104630
+ "items": {
104631
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
104632
+ }
104633
+ },
104634
+ {
104635
+ "type": "string",
104636
+ "pattern": "^<\\+input>$",
104637
+ "minLength": 1
104638
+ }
104639
+ ]
104640
+ },
104641
+ "identifier": {
104642
+ "type": "string",
104643
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
104644
+ },
104645
+ "name": {
104646
+ "type": "string",
104647
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
104648
+ },
104649
+ "strategy": {
104650
+ "oneOf": [
104651
+ {
104652
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
104653
+ },
104654
+ {
104655
+ "type": "string",
104656
+ "pattern": "^<\\+input>$",
104657
+ "minLength": 1
104658
+ }
104659
+ ]
104660
+ },
104661
+ "timeout": {
104662
+ "type": "string",
104663
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
104664
+ },
104665
+ "type": {
104666
+ "type": "string",
104667
+ "enum": [
104668
+ "AISRE_CreateAlert"
104669
+ ]
104670
+ },
104671
+ "when": {
104672
+ "oneOf": [
104673
+ {
104674
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
104675
+ },
104676
+ {
104677
+ "type": "string",
104678
+ "pattern": "^<\\+input>$",
104679
+ "minLength": 1
104680
+ }
104681
+ ]
104682
+ }
104683
+ },
104684
+ "$schema": "http://json-schema.org/draft-07/schema#",
104685
+ "allOf": [
104686
+ {
104687
+ "if": {
104688
+ "properties": {
104689
+ "type": {
104690
+ "const": "AISRE_CreateAlert"
104691
+ }
104692
+ }
104693
+ },
104694
+ "then": {
104695
+ "properties": {
104696
+ "spec": {
104697
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateAlertStepInfo"
104698
+ }
104699
+ }
104700
+ }
104701
+ }
104702
+ ]
104703
+ },
104704
+ "AisreCreateAlertStepInfo": {
104705
+ "title": "AisreCreateAlertStepInfo",
104706
+ "allOf": [
104707
+ {
104708
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
104709
+ },
104710
+ {
104711
+ "type": "object",
104712
+ "required": [
104713
+ "title",
104714
+ "orgIdentifier",
104715
+ "projectIdentifier",
104716
+ "status"
104717
+ ],
104718
+ "properties": {
104719
+ "alertId": {
104720
+ "oneOf": [
104721
+ {
104722
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104723
+ },
104724
+ {
104725
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104726
+ }
104727
+ ]
104728
+ },
104729
+ "title": {
104730
+ "oneOf": [
104731
+ {
104732
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104733
+ },
104734
+ {
104735
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104736
+ }
104737
+ ]
104738
+ },
104739
+ "orgIdentifier": {
104740
+ "oneOf": [
104741
+ {
104742
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104743
+ },
104744
+ {
104745
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104746
+ }
104747
+ ]
104748
+ },
104749
+ "projectIdentifier": {
104750
+ "oneOf": [
104751
+ {
104752
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104753
+ },
104754
+ {
104755
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104756
+ }
104757
+ ]
104758
+ },
104759
+ "status": {
104760
+ "oneOf": [
104761
+ {
104762
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104763
+ },
104764
+ {
104765
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104766
+ }
104767
+ ]
104768
+ },
104769
+ "priority": {
104770
+ "oneOf": [
104771
+ {
104772
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104773
+ },
104774
+ {
104775
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104776
+ }
104777
+ ]
104778
+ },
104779
+ "service": {
104780
+ "oneOf": [
104781
+ {
104782
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104783
+ },
104784
+ {
104785
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104786
+ }
104787
+ ]
104788
+ },
104789
+ "environment": {
104790
+ "oneOf": [
104791
+ {
104792
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104793
+ },
104794
+ {
104795
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104796
+ }
104797
+ ]
104798
+ },
104799
+ "description": {
104800
+ "oneOf": [
104801
+ {
104802
+ "$ref": "#/definitions/pipeline/steps/common/string-without-jexl"
104803
+ },
104804
+ {
104805
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
104806
+ }
104807
+ ]
104808
+ }
104809
+ }
104810
+ }
104811
+ ],
104812
+ "$schema": "http://json-schema.org/draft-07/schema#"
104813
+ }
104814
+ },
104158
104815
  "drtest": {
104159
104816
  "DRTestSlackNotifyStepNode": {
104160
104817
  "title": "DRTestSlackNotifyStepNode",
@@ -108787,6 +109444,12 @@ const schema = {
108787
109444
  {
108788
109445
  "$ref": "#/definitions/pipeline/steps/common/AgentStepNode"
108789
109446
  },
109447
+ {
109448
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateIncidentStepNode"
109449
+ },
109450
+ {
109451
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateAlertStepNode"
109452
+ },
108790
109453
  {
108791
109454
  "$ref": "#/definitions/pipeline/steps/custom/FmeFlagCreateStepNode"
108792
109455
  },
@@ -120186,6 +120849,12 @@ const schema = {
120186
120849
  {
120187
120850
  "$ref": "#/definitions/pipeline/steps/common/WizScanNode"
120188
120851
  },
120852
+ {
120853
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateIncidentStepNode"
120854
+ },
120855
+ {
120856
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateAlertStepNode"
120857
+ },
120189
120858
  {
120190
120859
  "$ref": "#/definitions/pipeline/steps/custom/FmeFlagCreateStepNode"
120191
120860
  },
@@ -121059,6 +121728,12 @@ const schema = {
121059
121728
  {
121060
121729
  "$ref": "#/definitions/pipeline/steps/custom/ChangeAdvisorStepNode"
121061
121730
  },
121731
+ {
121732
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateIncidentStepNode"
121733
+ },
121734
+ {
121735
+ "$ref": "#/definitions/pipeline/steps/aisre/AisreCreateAlertStepNode"
121736
+ },
121062
121737
  {
121063
121738
  "$ref": "#/definitions/pipeline/steps/custom/FmeFlagCreateStepNode"
121064
121739
  },