harness-mcp-v2 3.2.30 → 3.2.31

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 (106) hide show
  1. package/README.md +39 -32
  2. package/build/client/harness-client.d.ts.map +1 -1
  3. package/build/client/harness-client.js +3 -0
  4. package/build/client/harness-client.js.map +1 -1
  5. package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
  6. package/build/data/schemas/v0/pipeline.js +1007 -178
  7. package/build/data/schemas/v0/pipeline.js.map +1 -1
  8. package/build/data/schemas/v0/template.d.ts.map +1 -1
  9. package/build/data/schemas/v0/template.js +1777 -775
  10. package/build/data/schemas/v0/template.js.map +1 -1
  11. package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
  12. package/build/data/schemas/v1/pipeline.js +47 -9
  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 +47 -9
  16. package/build/data/schemas/v1/template.js.map +1 -1
  17. package/build/index.js +2 -2
  18. package/build/index.js.map +1 -1
  19. package/build/prompts/create-agent.d.ts.map +1 -1
  20. package/build/prompts/create-agent.js +128 -187
  21. package/build/prompts/create-agent.js.map +1 -1
  22. package/build/registry/enum-utils.d.ts +3 -1
  23. package/build/registry/enum-utils.d.ts.map +1 -1
  24. package/build/registry/enum-utils.js +19 -2
  25. package/build/registry/enum-utils.js.map +1 -1
  26. package/build/registry/extractors.d.ts +65 -2
  27. package/build/registry/extractors.d.ts.map +1 -1
  28. package/build/registry/extractors.js +190 -3
  29. package/build/registry/extractors.js.map +1 -1
  30. package/build/registry/index.d.ts +2 -0
  31. package/build/registry/index.d.ts.map +1 -1
  32. package/build/registry/index.js +21 -11
  33. package/build/registry/index.js.map +1 -1
  34. package/build/registry/toolsets/alerts.d.ts.map +1 -1
  35. package/build/registry/toolsets/alerts.js +13 -3
  36. package/build/registry/toolsets/alerts.js.map +1 -1
  37. package/build/registry/toolsets/deploys.d.ts.map +1 -1
  38. package/build/registry/toolsets/deploys.js +12 -3
  39. package/build/registry/toolsets/deploys.js.map +1 -1
  40. package/build/registry/toolsets/feature-flags.d.ts.map +1 -1
  41. package/build/registry/toolsets/feature-flags.js +372 -36
  42. package/build/registry/toolsets/feature-flags.js.map +1 -1
  43. package/build/registry/toolsets/gitops.d.ts.map +1 -1
  44. package/build/registry/toolsets/gitops.js +628 -1
  45. package/build/registry/toolsets/gitops.js.map +1 -1
  46. package/build/registry/toolsets/incidents.d.ts.map +1 -1
  47. package/build/registry/toolsets/incidents.js +13 -3
  48. package/build/registry/toolsets/incidents.js.map +1 -1
  49. package/build/registry/toolsets/infrastructure.d.ts.map +1 -1
  50. package/build/registry/toolsets/infrastructure.js +51 -15
  51. package/build/registry/toolsets/infrastructure.js.map +1 -1
  52. package/build/registry/toolsets/logs.d.ts.map +1 -1
  53. package/build/registry/toolsets/logs.js +29 -3
  54. package/build/registry/toolsets/logs.js.map +1 -1
  55. package/build/registry/toolsets/pipelines.d.ts.map +1 -1
  56. package/build/registry/toolsets/pipelines.js +27 -16
  57. package/build/registry/toolsets/pipelines.js.map +1 -1
  58. package/build/registry/toolsets/pull-requests.d.ts.map +1 -1
  59. package/build/registry/toolsets/pull-requests.js +145 -12
  60. package/build/registry/toolsets/pull-requests.js.map +1 -1
  61. package/build/registry/toolsets/registries-v3.d.ts.map +1 -1
  62. package/build/registry/toolsets/registries-v3.js +33 -8
  63. package/build/registry/toolsets/registries-v3.js.map +1 -1
  64. package/build/registry/toolsets/registries.d.ts.map +1 -1
  65. package/build/registry/toolsets/registries.js +60 -7
  66. package/build/registry/toolsets/registries.js.map +1 -1
  67. package/build/registry/toolsets/related-activities.d.ts +1 -1
  68. package/build/registry/toolsets/related-activities.js +1 -1
  69. package/build/registry/toolsets/repositories.js +6 -6
  70. package/build/registry/toolsets/repositories.js.map +1 -1
  71. package/build/registry/toolsets/scs.js +3 -3
  72. package/build/registry/toolsets/scs.js.map +1 -1
  73. package/build/registry/toolsets/secrets.js +1 -1
  74. package/build/registry/toolsets/secrets.js.map +1 -1
  75. package/build/registry/toolsets/services.d.ts.map +1 -1
  76. package/build/registry/toolsets/services.js +5 -0
  77. package/build/registry/toolsets/services.js.map +1 -1
  78. package/build/registry/toolsets/templates.d.ts.map +1 -1
  79. package/build/registry/toolsets/templates.js +7 -2
  80. package/build/registry/toolsets/templates.js.map +1 -1
  81. package/build/registry/toolsets/timelines.d.ts +3 -0
  82. package/build/registry/toolsets/timelines.d.ts.map +1 -0
  83. package/build/registry/toolsets/timelines.js +175 -0
  84. package/build/registry/toolsets/timelines.js.map +1 -0
  85. package/build/registry/types.d.ts +9 -1
  86. package/build/registry/types.d.ts.map +1 -1
  87. package/build/resources/agent-legacy-format.d.ts +12 -0
  88. package/build/resources/agent-legacy-format.d.ts.map +1 -0
  89. package/build/resources/agent-legacy-format.js +258 -0
  90. package/build/resources/agent-legacy-format.js.map +1 -0
  91. package/build/resources/index.d.ts.map +1 -1
  92. package/build/resources/index.js +2 -0
  93. package/build/resources/index.js.map +1 -1
  94. package/build/tools/harness-list.d.ts.map +1 -1
  95. package/build/tools/harness-list.js +7 -4
  96. package/build/tools/harness-list.js.map +1 -1
  97. package/build/tools/harness-schema.d.ts.map +1 -1
  98. package/build/tools/harness-schema.js +143 -27
  99. package/build/tools/harness-schema.js.map +1 -1
  100. package/build/utils/compact.js +1 -1
  101. package/build/utils/compact.js.map +1 -1
  102. package/build/utils/log-resolver.d.ts.map +1 -1
  103. package/build/utils/log-resolver.js +16 -3
  104. package/build/utils/log-resolver.js.map +1 -1
  105. package/npm-shrinkwrap.json +2 -2
  106. package/package.json +2 -2
@@ -37068,6 +37068,23 @@ const schema = {
37068
37068
  "dbInstance",
37069
37069
  "dbSchema"
37070
37070
  ],
37071
+ "oneOf": [
37072
+ {
37073
+ "required": [
37074
+ "tag"
37075
+ ]
37076
+ },
37077
+ {
37078
+ "required": [
37079
+ "changeSetCount"
37080
+ ]
37081
+ },
37082
+ {
37083
+ "required": [
37084
+ "changesetFQN"
37085
+ ]
37086
+ }
37087
+ ],
37071
37088
  "properties": {
37072
37089
  "dbInstance": {
37073
37090
  "type": "string"
@@ -37108,6 +37125,10 @@ const schema = {
37108
37125
  "type": "integer",
37109
37126
  "minimum": 1
37110
37127
  },
37128
+ "changesetFQN": {
37129
+ "type": "string",
37130
+ "minLength": 1
37131
+ },
37111
37132
  "delegateSelectors": {
37112
37133
  "oneOf": [
37113
37134
  {
@@ -38796,22 +38817,17 @@ const schema = {
38796
38817
  {
38797
38818
  "required": [
38798
38819
  "tag"
38799
- ],
38800
- "not": {
38801
- "required": [
38802
- "changeSetCount"
38803
- ]
38804
- }
38820
+ ]
38805
38821
  },
38806
38822
  {
38807
38823
  "required": [
38808
38824
  "changeSetCount"
38809
- ],
38810
- "not": {
38811
- "required": [
38812
- "tag"
38813
- ]
38814
- }
38825
+ ]
38826
+ },
38827
+ {
38828
+ "required": [
38829
+ "changesetFQN"
38830
+ ]
38815
38831
  }
38816
38832
  ],
38817
38833
  "properties": {
@@ -38851,6 +38867,10 @@ const schema = {
38851
38867
  "type": "integer",
38852
38868
  "minimum": 1
38853
38869
  },
38870
+ "changesetFQN": {
38871
+ "type": "string",
38872
+ "minLength": 1
38873
+ },
38854
38874
  "delegateSelectors": {
38855
38875
  "oneOf": [
38856
38876
  {
@@ -38943,22 +38963,17 @@ const schema = {
38943
38963
  {
38944
38964
  "required": [
38945
38965
  "tag"
38946
- ],
38947
- "not": {
38948
- "required": [
38949
- "changeSetCount"
38950
- ]
38951
- }
38966
+ ]
38952
38967
  },
38953
38968
  {
38954
38969
  "required": [
38955
38970
  "changeSetCount"
38956
- ],
38957
- "not": {
38958
- "required": [
38959
- "tag"
38960
- ]
38961
- }
38971
+ ]
38972
+ },
38973
+ {
38974
+ "required": [
38975
+ "changesetFQN"
38976
+ ]
38962
38977
  }
38963
38978
  ],
38964
38979
  "properties": {
@@ -38979,6 +38994,10 @@ const schema = {
38979
38994
  "type": "integer",
38980
38995
  "minimum": 1
38981
38996
  },
38997
+ "changesetFQN": {
38998
+ "type": "string",
38999
+ "minLength": 1
39000
+ },
38982
39001
  "settings": {
38983
39002
  "oneOf": [
38984
39003
  {
@@ -57923,6 +57942,217 @@ const schema = {
57923
57942
  },
57924
57943
  "$schema": "http://json-schema.org/draft-07/schema#"
57925
57944
  },
57945
+ "HelmDryRunStepNode": {
57946
+ "title": "HelmDryRunStepNode",
57947
+ "type": "object",
57948
+ "required": [
57949
+ "identifier",
57950
+ "name",
57951
+ "spec",
57952
+ "type"
57953
+ ],
57954
+ "properties": {
57955
+ "description": {
57956
+ "type": "string",
57957
+ "desc": "This is the description for HelmDryRunStepNode"
57958
+ },
57959
+ "enforce": {
57960
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
57961
+ },
57962
+ "failureStrategies": {
57963
+ "oneOf": [
57964
+ {
57965
+ "type": "array",
57966
+ "items": {
57967
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
57968
+ }
57969
+ },
57970
+ {
57971
+ "type": "string",
57972
+ "pattern": "^<\\+input>$",
57973
+ "minLength": 1
57974
+ }
57975
+ ]
57976
+ },
57977
+ "identifier": {
57978
+ "type": "string",
57979
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
57980
+ },
57981
+ "name": {
57982
+ "type": "string",
57983
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
57984
+ },
57985
+ "strategy": {
57986
+ "oneOf": [
57987
+ {
57988
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
57989
+ },
57990
+ {
57991
+ "type": "string",
57992
+ "pattern": "^<\\+input>$",
57993
+ "minLength": 1
57994
+ }
57995
+ ]
57996
+ },
57997
+ "timeout": {
57998
+ "type": "string",
57999
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
58000
+ },
58001
+ "type": {
58002
+ "type": "string",
58003
+ "enum": [
58004
+ "HelmDryRun"
58005
+ ]
58006
+ },
58007
+ "when": {
58008
+ "oneOf": [
58009
+ {
58010
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
58011
+ },
58012
+ {
58013
+ "type": "string",
58014
+ "pattern": "^<\\+input>$",
58015
+ "minLength": 1
58016
+ }
58017
+ ]
58018
+ }
58019
+ },
58020
+ "$schema": "http://json-schema.org/draft-07/schema#",
58021
+ "allOf": [
58022
+ {
58023
+ "if": {
58024
+ "properties": {
58025
+ "type": {
58026
+ "const": "HelmDryRun"
58027
+ }
58028
+ }
58029
+ },
58030
+ "then": {
58031
+ "properties": {
58032
+ "spec": {
58033
+ "$ref": "#/definitions/pipeline/steps/cd/HelmDryRunStepInfo"
58034
+ }
58035
+ }
58036
+ }
58037
+ }
58038
+ ]
58039
+ },
58040
+ "HelmDryRunStepInfo": {
58041
+ "title": "HelmDryRunStepInfo",
58042
+ "allOf": [
58043
+ {
58044
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
58045
+ },
58046
+ {
58047
+ "type": "object",
58048
+ "properties": {
58049
+ "delegateSelectors": {
58050
+ "oneOf": [
58051
+ {
58052
+ "type": "array",
58053
+ "items": {
58054
+ "type": "string"
58055
+ }
58056
+ },
58057
+ {
58058
+ "type": "string",
58059
+ "pattern": "(<\\+.+>.*)",
58060
+ "minLength": 1
58061
+ }
58062
+ ]
58063
+ },
58064
+ "commandFlags": {
58065
+ "oneOf": [
58066
+ {
58067
+ "type": "array",
58068
+ "items": {
58069
+ "$ref": "#/definitions/pipeline/steps/cd/HelmManifestCommandFlag"
58070
+ }
58071
+ },
58072
+ {
58073
+ "type": "string",
58074
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
58075
+ "minLength": 1
58076
+ }
58077
+ ]
58078
+ },
58079
+ "encryptYamlOutput": {
58080
+ "oneOf": [
58081
+ {
58082
+ "type": "boolean"
58083
+ },
58084
+ {
58085
+ "type": "string",
58086
+ "pattern": "(<\\+.+>.*)",
58087
+ "minLength": 1
58088
+ }
58089
+ ]
58090
+ }
58091
+ }
58092
+ }
58093
+ ],
58094
+ "$schema": "http://json-schema.org/draft-07/schema#",
58095
+ "type": "object",
58096
+ "properties": {
58097
+ "delegateSelectors": {
58098
+ "oneOf": [
58099
+ {
58100
+ "type": "array",
58101
+ "items": {
58102
+ "type": "string"
58103
+ }
58104
+ },
58105
+ {
58106
+ "type": "string",
58107
+ "pattern": "(<\\+.+>.*)",
58108
+ "minLength": 1
58109
+ }
58110
+ ]
58111
+ },
58112
+ "commandFlags": {
58113
+ "oneOf": [
58114
+ {
58115
+ "type": "array",
58116
+ "items": {
58117
+ "$ref": "#/definitions/pipeline/steps/cd/HelmManifestCommandFlag"
58118
+ }
58119
+ },
58120
+ {
58121
+ "type": "string",
58122
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
58123
+ "minLength": 1
58124
+ }
58125
+ ]
58126
+ },
58127
+ "encryptYamlOutput": {
58128
+ "oneOf": [
58129
+ {
58130
+ "type": "boolean"
58131
+ },
58132
+ {
58133
+ "type": "string",
58134
+ "pattern": "(<\\+.+>.*)",
58135
+ "minLength": 1
58136
+ }
58137
+ ]
58138
+ },
58139
+ "environmentVariables": {
58140
+ "oneOf": [
58141
+ {
58142
+ "$ref": "#/definitions/pipeline/steps/common/ParameterFieldMapStringString"
58143
+ },
58144
+ {
58145
+ "type": "string",
58146
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
58147
+ "minLength": 1
58148
+ }
58149
+ ]
58150
+ },
58151
+ "description": {
58152
+ "desc": "This is the description for HelmDryRunStepInfo"
58153
+ }
58154
+ }
58155
+ },
57926
58156
  "TasBGAppSetupStepNode": {
57927
58157
  "title": "TasBGAppSetupStepNode",
57928
58158
  "type": "object",
@@ -65813,6 +66043,22 @@ const schema = {
65813
66043
  "degradedStateTimeout": {
65814
66044
  "type": "string",
65815
66045
  "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
66046
+ },
66047
+ "successCriteria": {
66048
+ "oneOf": [
66049
+ {
66050
+ "type": "string",
66051
+ "enum": [
66052
+ "syncInitiated",
66053
+ "syncSucceeded"
66054
+ ]
66055
+ },
66056
+ {
66057
+ "type": "string",
66058
+ "pattern": "(<\\+.+>.*)",
66059
+ "minLength": 1
66060
+ }
66061
+ ]
65816
66062
  }
65817
66063
  },
65818
66064
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -65827,6 +66073,53 @@ const schema = {
65827
66073
  ]
65828
66074
  }
65829
66075
  },
66076
+ {
66077
+ "if": {
66078
+ "required": [
66079
+ "successCriteria"
66080
+ ],
66081
+ "properties": {
66082
+ "successCriteria": {
66083
+ "const": "syncInitiated"
66084
+ }
66085
+ }
66086
+ },
66087
+ "then": {
66088
+ "properties": {
66089
+ "waitTillHealthy": {
66090
+ "not": {
66091
+ "enum": [
66092
+ true,
66093
+ "true"
66094
+ ]
66095
+ }
66096
+ },
66097
+ "failOnTimeout": {
66098
+ "not": {
66099
+ "const": true
66100
+ }
66101
+ },
66102
+ "showResourceProgress": {
66103
+ "not": {
66104
+ "const": true
66105
+ }
66106
+ },
66107
+ "autoPromoteRolloutBehavior": {
66108
+ "not": {
66109
+ "enum": [
66110
+ "promote-full",
66111
+ "resume"
66112
+ ]
66113
+ }
66114
+ },
66115
+ "degradedStateTimeout": {
66116
+ "not": {
66117
+ "pattern": "^\\d"
66118
+ }
66119
+ }
66120
+ }
66121
+ }
66122
+ },
65830
66123
  {
65831
66124
  "anyOf": [
65832
66125
  {
@@ -66297,6 +66590,22 @@ const schema = {
66297
66590
  "minLength": 1
66298
66591
  }
66299
66592
  ]
66593
+ },
66594
+ "successCriteria": {
66595
+ "oneOf": [
66596
+ {
66597
+ "type": "string",
66598
+ "enum": [
66599
+ "syncInitiated",
66600
+ "syncSucceeded"
66601
+ ]
66602
+ },
66603
+ {
66604
+ "type": "string",
66605
+ "pattern": "(<\\+.+>.*)",
66606
+ "minLength": 1
66607
+ }
66608
+ ]
66300
66609
  }
66301
66610
  },
66302
66611
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -66307,6 +66616,35 @@ const schema = {
66307
66616
  "waitTillHealthy"
66308
66617
  ]
66309
66618
  }
66619
+ },
66620
+ {
66621
+ "if": {
66622
+ "required": [
66623
+ "successCriteria"
66624
+ ],
66625
+ "properties": {
66626
+ "successCriteria": {
66627
+ "const": "syncInitiated"
66628
+ }
66629
+ }
66630
+ },
66631
+ "then": {
66632
+ "properties": {
66633
+ "waitTillHealthy": {
66634
+ "not": {
66635
+ "enum": [
66636
+ true,
66637
+ "true"
66638
+ ]
66639
+ }
66640
+ },
66641
+ "failOnTimeout": {
66642
+ "not": {
66643
+ "const": true
66644
+ }
66645
+ }
66646
+ }
66647
+ }
66310
66648
  }
66311
66649
  ],
66312
66650
  "$ref": "#/definitions/pipeline/common/StepSpecType"
@@ -89487,6 +89825,341 @@ const schema = {
89487
89825
  },
89488
89826
  "description": "Downloads files from Google Cloud Storage (GCS) bucket.\n\nExample YAML:\n```yaml\n- step:\n type: DownloadGcs\n name: DownloadGcs_1\n identifier: DownloadGcs_1\n spec:\n connectorRef: account.GcpConnector\n bucketName: my-gcs-bucket\n filePath: path/to/file.yaml\n downloadPath: /harness/manifests\n description: Downloads manifest from GCS bucket\n timeout: 10m\n```\n"
89489
89827
  },
89828
+ "DownloadNexusArtifactStepNode": {
89829
+ "title": "DownloadNexusArtifactStepNode",
89830
+ "type": "object",
89831
+ "required": [
89832
+ "identifier",
89833
+ "name",
89834
+ "type"
89835
+ ],
89836
+ "properties": {
89837
+ "description": {
89838
+ "type": "string",
89839
+ "desc": "This is the description for DownloadNexusArtifactStepNode"
89840
+ },
89841
+ "enforce": {
89842
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
89843
+ },
89844
+ "failureStrategies": {
89845
+ "oneOf": [
89846
+ {
89847
+ "type": "array",
89848
+ "items": {
89849
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
89850
+ }
89851
+ },
89852
+ {
89853
+ "type": "string",
89854
+ "pattern": "^<\\+input>$",
89855
+ "minLength": 1
89856
+ }
89857
+ ]
89858
+ },
89859
+ "identifier": {
89860
+ "type": "string",
89861
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
89862
+ },
89863
+ "name": {
89864
+ "type": "string",
89865
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
89866
+ },
89867
+ "strategy": {
89868
+ "oneOf": [
89869
+ {
89870
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
89871
+ },
89872
+ {
89873
+ "type": "string",
89874
+ "pattern": "^<\\+input>$",
89875
+ "minLength": 1
89876
+ }
89877
+ ]
89878
+ },
89879
+ "timeout": {
89880
+ "type": "string",
89881
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
89882
+ },
89883
+ "type": {
89884
+ "type": "string",
89885
+ "enum": [
89886
+ "DownloadNexusArtifact"
89887
+ ]
89888
+ },
89889
+ "when": {
89890
+ "oneOf": [
89891
+ {
89892
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
89893
+ },
89894
+ {
89895
+ "type": "string",
89896
+ "pattern": "^<\\+input>$",
89897
+ "minLength": 1
89898
+ }
89899
+ ]
89900
+ }
89901
+ },
89902
+ "$schema": "http://json-schema.org/draft-07/schema#",
89903
+ "allOf": [
89904
+ {
89905
+ "if": {
89906
+ "properties": {
89907
+ "type": {
89908
+ "const": "DownloadNexusArtifact"
89909
+ }
89910
+ }
89911
+ },
89912
+ "then": {
89913
+ "properties": {
89914
+ "spec": {
89915
+ "$ref": "#/definitions/pipeline/steps/cd/DownloadNexusArtifactStepInfo"
89916
+ }
89917
+ }
89918
+ }
89919
+ }
89920
+ ]
89921
+ },
89922
+ "DownloadNexusArtifactStepInfo": {
89923
+ "title": "DownloadNexusArtifactStepInfo",
89924
+ "allOf": [
89925
+ {
89926
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
89927
+ },
89928
+ {
89929
+ "type": "object",
89930
+ "properties": {
89931
+ "connectorRef": {
89932
+ "type": "string"
89933
+ },
89934
+ "delegateSelectors": {
89935
+ "oneOf": [
89936
+ {
89937
+ "type": "array",
89938
+ "items": {
89939
+ "type": "string"
89940
+ }
89941
+ },
89942
+ {
89943
+ "type": "string",
89944
+ "pattern": "(<\\+.+>.*)",
89945
+ "minLength": 1
89946
+ }
89947
+ ]
89948
+ },
89949
+ "resources": {
89950
+ "$ref": "#/definitions/pipeline/common/ContainerResource"
89951
+ },
89952
+ "runAsUser": {
89953
+ "oneOf": [
89954
+ {
89955
+ "type": "integer",
89956
+ "format": "int32"
89957
+ },
89958
+ {
89959
+ "type": "string"
89960
+ }
89961
+ ]
89962
+ },
89963
+ "repository": {
89964
+ "type": "string"
89965
+ },
89966
+ "repositoryFormat": {
89967
+ "type": "string",
89968
+ "enum": [
89969
+ "raw",
89970
+ "maven",
89971
+ "npm",
89972
+ "nuget"
89973
+ ]
89974
+ },
89975
+ "downloadPath": {
89976
+ "type": "string"
89977
+ },
89978
+ "validateChecksum": {
89979
+ "oneOf": [
89980
+ {
89981
+ "type": "boolean"
89982
+ },
89983
+ {
89984
+ "type": "string",
89985
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
89986
+ "minLength": 1
89987
+ }
89988
+ ]
89989
+ },
89990
+ "outputFilePathsContent": {
89991
+ "type": "array",
89992
+ "items": {
89993
+ "type": "string"
89994
+ }
89995
+ },
89996
+ "privileged": {
89997
+ "oneOf": [
89998
+ {
89999
+ "type": "boolean"
90000
+ },
90001
+ {
90002
+ "type": "string",
90003
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
90004
+ "minLength": 1
90005
+ }
90006
+ ]
90007
+ }
90008
+ },
90009
+ "required": [
90010
+ "connectorRef",
90011
+ "repository",
90012
+ "repositoryFormat",
90013
+ "spec"
90014
+ ]
90015
+ },
90016
+ {
90017
+ "if": {
90018
+ "properties": {
90019
+ "repositoryFormat": {
90020
+ "const": "raw"
90021
+ }
90022
+ }
90023
+ },
90024
+ "then": {
90025
+ "properties": {
90026
+ "spec": {
90027
+ "$ref": "#/definitions/pipeline/steps/cd/NexusDownloadRawSpec"
90028
+ }
90029
+ }
90030
+ }
90031
+ },
90032
+ {
90033
+ "if": {
90034
+ "properties": {
90035
+ "repositoryFormat": {
90036
+ "const": "maven"
90037
+ }
90038
+ }
90039
+ },
90040
+ "then": {
90041
+ "properties": {
90042
+ "spec": {
90043
+ "$ref": "#/definitions/pipeline/steps/cd/NexusDownloadMavenSpec"
90044
+ }
90045
+ }
90046
+ }
90047
+ },
90048
+ {
90049
+ "if": {
90050
+ "properties": {
90051
+ "repositoryFormat": {
90052
+ "const": "npm"
90053
+ }
90054
+ }
90055
+ },
90056
+ "then": {
90057
+ "properties": {
90058
+ "spec": {
90059
+ "$ref": "#/definitions/pipeline/steps/cd/NexusDownloadNpmSpec"
90060
+ }
90061
+ }
90062
+ }
90063
+ },
90064
+ {
90065
+ "if": {
90066
+ "properties": {
90067
+ "repositoryFormat": {
90068
+ "const": "nuget"
90069
+ }
90070
+ }
90071
+ },
90072
+ "then": {
90073
+ "properties": {
90074
+ "spec": {
90075
+ "$ref": "#/definitions/pipeline/steps/cd/NexusDownloadNugetSpec"
90076
+ }
90077
+ }
90078
+ }
90079
+ }
90080
+ ],
90081
+ "$schema": "http://json-schema.org/draft-07/schema#",
90082
+ "type": "object",
90083
+ "description": "Downloads an artifact from a Sonatype Nexus 3 repository using a Nexus connector.\n\nExample YAML:\n```yaml\n- step:\n type: DownloadNexusArtifact\n name: DownloadNexusArtifact_1\n identifier: DownloadNexusArtifact_1\n spec:\n connectorRef: account.NexusConnector\n repository: sdf-releases\n repositoryFormat: raw\n spec:\n group: /com/example/sdf/1.4.2\n artifactPath: sdf-bundle-1.4.2.zip\n downloadPath: /harness/sdf\n validateChecksum: true\n timeout: 10m\n```\n"
90084
+ },
90085
+ "NexusDownloadRawSpec": {
90086
+ "title": "NexusDownloadRawSpec",
90087
+ "$schema": "http://json-schema.org/draft-07/schema#",
90088
+ "type": "object",
90089
+ "required": [
90090
+ "artifactPath",
90091
+ "group"
90092
+ ],
90093
+ "properties": {
90094
+ "artifactPath": {
90095
+ "type": "string"
90096
+ },
90097
+ "group": {
90098
+ "type": "string"
90099
+ }
90100
+ }
90101
+ },
90102
+ "NexusDownloadMavenSpec": {
90103
+ "title": "NexusDownloadMavenSpec",
90104
+ "$schema": "http://json-schema.org/draft-07/schema#",
90105
+ "type": "object",
90106
+ "required": [
90107
+ "artifactId",
90108
+ "groupId",
90109
+ "version"
90110
+ ],
90111
+ "properties": {
90112
+ "artifactId": {
90113
+ "type": "string"
90114
+ },
90115
+ "classifier": {
90116
+ "type": "string"
90117
+ },
90118
+ "extension": {
90119
+ "type": "string"
90120
+ },
90121
+ "groupId": {
90122
+ "type": "string"
90123
+ },
90124
+ "version": {
90125
+ "type": "string"
90126
+ }
90127
+ }
90128
+ },
90129
+ "NexusDownloadNpmSpec": {
90130
+ "title": "NexusDownloadNpmSpec",
90131
+ "$schema": "http://json-schema.org/draft-07/schema#",
90132
+ "type": "object",
90133
+ "required": [
90134
+ "packageName",
90135
+ "version"
90136
+ ],
90137
+ "properties": {
90138
+ "packageName": {
90139
+ "type": "string"
90140
+ },
90141
+ "version": {
90142
+ "type": "string"
90143
+ }
90144
+ }
90145
+ },
90146
+ "NexusDownloadNugetSpec": {
90147
+ "title": "NexusDownloadNugetSpec",
90148
+ "$schema": "http://json-schema.org/draft-07/schema#",
90149
+ "type": "object",
90150
+ "required": [
90151
+ "packageName",
90152
+ "version"
90153
+ ],
90154
+ "properties": {
90155
+ "packageName": {
90156
+ "type": "string"
90157
+ },
90158
+ "version": {
90159
+ "type": "string"
90160
+ }
90161
+ }
90162
+ },
89490
90163
  "DownloadHarnessStoreStepNode": {
89491
90164
  "title": "DownloadHarnessStoreStepNode",
89492
90165
  "type": "object",
@@ -102717,22 +103390,205 @@ const schema = {
102717
103390
  "if": {
102718
103391
  "properties": {
102719
103392
  "type": {
102720
- "const": "ChaosAction"
103393
+ "const": "ChaosAction"
103394
+ }
103395
+ }
103396
+ },
103397
+ "then": {
103398
+ "properties": {
103399
+ "spec": {
103400
+ "$ref": "#/definitions/pipeline/steps/resiliencetesting/ChaosActionInfo"
103401
+ }
103402
+ }
103403
+ }
103404
+ }
103405
+ ]
103406
+ },
103407
+ "ChaosActionInfo": {
103408
+ "title": "ChaosActionInfo",
103409
+ "allOf": [
103410
+ {
103411
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
103412
+ },
103413
+ {
103414
+ "type": "object",
103415
+ "required": [
103416
+ "identity",
103417
+ "duration",
103418
+ "infraReference"
103419
+ ],
103420
+ "properties": {
103421
+ "identity": {
103422
+ "type": "string"
103423
+ },
103424
+ "kind": {
103425
+ "type": "string"
103426
+ },
103427
+ "duration": {
103428
+ "type": "string"
103429
+ },
103430
+ "infraReference": {
103431
+ "type": "string"
103432
+ },
103433
+ "tasks": {
103434
+ "oneOf": [
103435
+ {
103436
+ "type": "array",
103437
+ "items": {
103438
+ "type": "object",
103439
+ "required": [
103440
+ "identifier"
103441
+ ],
103442
+ "properties": {
103443
+ "identifier": {
103444
+ "type": "string",
103445
+ "minLength": 1
103446
+ },
103447
+ "values": {
103448
+ "type": "array",
103449
+ "items": {
103450
+ "type": "object",
103451
+ "required": [
103452
+ "name",
103453
+ "value"
103454
+ ],
103455
+ "properties": {
103456
+ "name": {
103457
+ "type": "string",
103458
+ "minLength": 1
103459
+ },
103460
+ "value": {
103461
+ "anyOf": [
103462
+ {
103463
+ "type": "string"
103464
+ },
103465
+ {
103466
+ "type": "number"
103467
+ },
103468
+ {
103469
+ "type": "boolean"
103470
+ },
103471
+ {
103472
+ "type": "string",
103473
+ "pattern": "(<\\+.+>.*)"
103474
+ }
103475
+ ]
103476
+ }
103477
+ }
103478
+ }
103479
+ }
103480
+ }
103481
+ }
103482
+ },
103483
+ {
103484
+ "type": "string",
103485
+ "pattern": "(<\\+.+>.*)",
103486
+ "minLength": 1
103487
+ }
103488
+ ]
103489
+ }
103490
+ }
103491
+ }
103492
+ ],
103493
+ "$schema": "http://json-schema.org/draft-07/schema#"
103494
+ },
103495
+ "ChaosFaultNode": {
103496
+ "title": "ChaosFaultNode",
103497
+ "type": "object",
103498
+ "required": [
103499
+ "identifier",
103500
+ "name",
103501
+ "spec",
103502
+ "type"
103503
+ ],
103504
+ "properties": {
103505
+ "description": {
103506
+ "type": "string",
103507
+ "desc": "This is the description for ChaosFaultNode"
103508
+ },
103509
+ "enforce": {
103510
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
103511
+ },
103512
+ "failureStrategies": {
103513
+ "oneOf": [
103514
+ {
103515
+ "type": "array",
103516
+ "items": {
103517
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
103518
+ }
103519
+ },
103520
+ {
103521
+ "type": "string",
103522
+ "pattern": "^<\\+input>$",
103523
+ "minLength": 1
103524
+ }
103525
+ ]
103526
+ },
103527
+ "identifier": {
103528
+ "type": "string",
103529
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
103530
+ },
103531
+ "name": {
103532
+ "type": "string",
103533
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
103534
+ },
103535
+ "strategy": {
103536
+ "oneOf": [
103537
+ {
103538
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
103539
+ },
103540
+ {
103541
+ "type": "string",
103542
+ "pattern": "^<\\+input>$",
103543
+ "minLength": 1
103544
+ }
103545
+ ]
103546
+ },
103547
+ "timeout": {
103548
+ "type": "string",
103549
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
103550
+ },
103551
+ "type": {
103552
+ "type": "string",
103553
+ "enum": [
103554
+ "ChaosFault"
103555
+ ]
103556
+ },
103557
+ "when": {
103558
+ "oneOf": [
103559
+ {
103560
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
103561
+ },
103562
+ {
103563
+ "type": "string",
103564
+ "pattern": "^<\\+input>$",
103565
+ "minLength": 1
103566
+ }
103567
+ ]
103568
+ }
103569
+ },
103570
+ "$schema": "http://json-schema.org/draft-07/schema#",
103571
+ "allOf": [
103572
+ {
103573
+ "if": {
103574
+ "properties": {
103575
+ "type": {
103576
+ "const": "ChaosFault"
102721
103577
  }
102722
103578
  }
102723
103579
  },
102724
103580
  "then": {
102725
103581
  "properties": {
102726
103582
  "spec": {
102727
- "$ref": "#/definitions/pipeline/steps/resiliencetesting/ChaosActionInfo"
103583
+ "$ref": "#/definitions/pipeline/steps/resiliencetesting/ChaosFaultInfo"
102728
103584
  }
102729
103585
  }
102730
103586
  }
102731
103587
  }
102732
103588
  ]
102733
103589
  },
102734
- "ChaosActionInfo": {
102735
- "title": "ChaosActionInfo",
103590
+ "ChaosFaultInfo": {
103591
+ "title": "ChaosFaultInfo",
102736
103592
  "allOf": [
102737
103593
  {
102738
103594
  "$ref": "#/definitions/pipeline/common/StepSpecType"
@@ -102741,7 +103597,6 @@ const schema = {
102741
103597
  "type": "object",
102742
103598
  "required": [
102743
103599
  "identity",
102744
- "duration",
102745
103600
  "infraReference"
102746
103601
  ],
102747
103602
  "properties": {
@@ -102751,9 +103606,6 @@ const schema = {
102751
103606
  "kind": {
102752
103607
  "type": "string"
102753
103608
  },
102754
- "duration": {
102755
- "type": "string"
102756
- },
102757
103609
  "infraReference": {
102758
103610
  "type": "string"
102759
103611
  },
@@ -102819,8 +103671,8 @@ const schema = {
102819
103671
  ],
102820
103672
  "$schema": "http://json-schema.org/draft-07/schema#"
102821
103673
  },
102822
- "ChaosFaultNode": {
102823
- "title": "ChaosFaultNode",
103674
+ "RiskScanStepNode": {
103675
+ "title": "RiskScanStepNode",
102824
103676
  "type": "object",
102825
103677
  "required": [
102826
103678
  "identifier",
@@ -102831,7 +103683,7 @@ const schema = {
102831
103683
  "properties": {
102832
103684
  "description": {
102833
103685
  "type": "string",
102834
- "desc": "This is the description for ChaosFaultNode"
103686
+ "desc": "This is the description for RiskScanStepNode"
102835
103687
  },
102836
103688
  "enforce": {
102837
103689
  "$ref": "#/definitions/pipeline/common/PolicyConfig"
@@ -102878,7 +103730,7 @@ const schema = {
102878
103730
  "type": {
102879
103731
  "type": "string",
102880
103732
  "enum": [
102881
- "ChaosFault"
103733
+ "RiskScan"
102882
103734
  ]
102883
103735
  },
102884
103736
  "when": {
@@ -102900,22 +103752,22 @@ const schema = {
102900
103752
  "if": {
102901
103753
  "properties": {
102902
103754
  "type": {
102903
- "const": "ChaosFault"
103755
+ "const": "RiskScan"
102904
103756
  }
102905
103757
  }
102906
103758
  },
102907
103759
  "then": {
102908
103760
  "properties": {
102909
103761
  "spec": {
102910
- "$ref": "#/definitions/pipeline/steps/resiliencetesting/ChaosFaultInfo"
103762
+ "$ref": "#/definitions/pipeline/steps/resiliencetesting/RiskScanStepInfo"
102911
103763
  }
102912
103764
  }
102913
103765
  }
102914
103766
  }
102915
103767
  ]
102916
103768
  },
102917
- "ChaosFaultInfo": {
102918
- "title": "ChaosFaultInfo",
103769
+ "RiskScanStepInfo": {
103770
+ "title": "RiskScanStepInfo",
102919
103771
  "allOf": [
102920
103772
  {
102921
103773
  "$ref": "#/definitions/pipeline/common/StepSpecType"
@@ -102923,73 +103775,20 @@ const schema = {
102923
103775
  {
102924
103776
  "type": "object",
102925
103777
  "required": [
102926
- "identity",
102927
- "infraReference"
103778
+ "scanMode"
102928
103779
  ],
102929
103780
  "properties": {
102930
- "identity": {
102931
- "type": "string"
102932
- },
102933
- "kind": {
102934
- "type": "string"
102935
- },
102936
- "infraReference": {
102937
- "type": "string"
102938
- },
102939
- "tasks": {
103781
+ "scanMode": {
102940
103782
  "oneOf": [
102941
103783
  {
102942
- "type": "array",
102943
- "items": {
102944
- "type": "object",
102945
- "required": [
102946
- "identifier"
102947
- ],
102948
- "properties": {
102949
- "identifier": {
102950
- "type": "string",
102951
- "minLength": 1
102952
- },
102953
- "values": {
102954
- "type": "array",
102955
- "items": {
102956
- "type": "object",
102957
- "required": [
102958
- "name",
102959
- "value"
102960
- ],
102961
- "properties": {
102962
- "name": {
102963
- "type": "string",
102964
- "minLength": 1
102965
- },
102966
- "value": {
102967
- "anyOf": [
102968
- {
102969
- "type": "string"
102970
- },
102971
- {
102972
- "type": "number"
102973
- },
102974
- {
102975
- "type": "boolean"
102976
- },
102977
- {
102978
- "type": "string",
102979
- "pattern": "(<\\+.+>.*)"
102980
- }
102981
- ]
102982
- }
102983
- }
102984
- }
102985
- }
102986
- }
102987
- }
103784
+ "type": "string",
103785
+ "enum": [
103786
+ "AI",
103787
+ "RiskAnalyzer"
103788
+ ]
102988
103789
  },
102989
103790
  {
102990
- "type": "string",
102991
- "pattern": "(<\\+.+>.*)",
102992
- "minLength": 1
103791
+ "$ref": "#/definitions/pipeline/steps/common/common-jexl"
102993
103792
  }
102994
103793
  ]
102995
103794
  }
@@ -107270,6 +108069,9 @@ const schema = {
107270
108069
  "type": "string",
107271
108070
  "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
107272
108071
  },
108072
+ "identities": {
108073
+ "$ref": "#/definitions/pipeline/common/IdentitiesConfig"
108074
+ },
107273
108075
  "name": {
107274
108076
  "type": "string",
107275
108077
  "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
@@ -107335,6 +108137,83 @@ const schema = {
107335
108137
  },
107336
108138
  "$schema": "http://json-schema.org/draft-07/schema#"
107337
108139
  },
108140
+ "IdentitiesConfig": {
108141
+ "title": "IdentitiesConfig",
108142
+ "type": "object",
108143
+ "description": "Map of named identities. Each key is a user-defined identity name that doubles as the\nenvironment variable injected into the step, and each value is an IdentitySpec.\nReserved names (HARNESS_*, PATH, HOME, AWS_*/GOOGLE_*/AZURE_*) are not allowed, and a\nstep may declare at most 10 identities.\n",
108144
+ "maxProperties": 10,
108145
+ "propertyNames": {
108146
+ "pattern": "^(?!HARNESS_)(?!AWS_)(?!GOOGLE_)(?!AZURE_)(?!PATH$)(?!HOME$)[A-Za-z_][A-Za-z0-9_]*$"
108147
+ },
108148
+ "additionalProperties": {
108149
+ "$ref": "#/definitions/pipeline/common/IdentitySpec"
108150
+ },
108151
+ "$schema": "http://json-schema.org/draft-07/schema#"
108152
+ },
108153
+ "IdentitySpec": {
108154
+ "title": "IdentitySpec",
108155
+ "type": "object",
108156
+ "description": "Definition of a single named identity that produces an independent OIDC ID_TOKEN.\nThe identity name (the map key under identities) doubles as the environment variable\nthe step receives at runtime.\n",
108157
+ "properties": {
108158
+ "audience": {
108159
+ "description": "Audience (aud) the minted ID_TOKEN is issued for.",
108160
+ "type": "string",
108161
+ "minLength": 1
108162
+ },
108163
+ "subjectTemplate": {
108164
+ "description": "Template for the sub claim. Supports literals and allowlisted Harness expressions\n(e.g. <+account.identifier>, <+pipeline.identifier>, <+step.identifier>).\n",
108165
+ "type": "string"
108166
+ },
108167
+ "customClaims": {
108168
+ "description": "Additional custom claims stamped on this identity's token.",
108169
+ "type": "object",
108170
+ "additionalProperties": {
108171
+ "type": "string"
108172
+ }
108173
+ },
108174
+ "scope": {
108175
+ "description": "Visibility scope of the identity. Step-level entries default to STEP.",
108176
+ "type": "string",
108177
+ "enum": [
108178
+ "STEP",
108179
+ "STAGE",
108180
+ "PIPELINE"
108181
+ ]
108182
+ },
108183
+ "disabled": {
108184
+ "description": "When true, suppresses this identity (not generated, not injected).",
108185
+ "oneOf": [
108186
+ {
108187
+ "type": "boolean"
108188
+ },
108189
+ {
108190
+ "type": "string",
108191
+ "pattern": "^<\\+input>$",
108192
+ "minLength": 1
108193
+ }
108194
+ ]
108195
+ },
108196
+ "tokenMode": {
108197
+ "description": "Token exchange mode for this identity.",
108198
+ "type": "string",
108199
+ "enum": [
108200
+ "STANDARD",
108201
+ "CLIENT_ASSERTION"
108202
+ ]
108203
+ },
108204
+ "cloudProvider": {
108205
+ "description": "Target cloud provider for this identity. Determines claim formatting (e.g. AWS session tags).",
108206
+ "type": "string",
108207
+ "enum": [
108208
+ "AWS",
108209
+ "GCP",
108210
+ "AZURE",
108211
+ "VAULT"
108212
+ ]
108213
+ }
108214
+ },
108215
+ "$schema": "http://json-schema.org/draft-07/schema#"
108216
+ },
107338
108217
  "StepWhenCondition": {
107339
108218
  "title": "StepWhenCondition",
107340
108219
  "type": "object",
@@ -107486,83 +108365,6 @@ const schema = {
107486
108365
  },
107487
108366
  "$schema": "http://json-schema.org/draft-07/schema#"
107488
108367
  },
107489
- "IdentitiesConfig": {
107490
- "title": "IdentitiesConfig",
107491
- "type": "object",
107492
- "description": "Map of named identities. Each key is a user-defined identity name that doubles as the\nenvironment variable injected into the step, and each value is an IdentitySpec.\nReserved names (HARNESS_*, PATH, HOME, AWS_*/GOOGLE_*/AZURE_*) are not allowed, and a\nstep may declare at most 10 identities.\n",
107493
- "maxProperties": 10,
107494
- "propertyNames": {
107495
- "pattern": "^(?!HARNESS_)(?!AWS_)(?!GOOGLE_)(?!AZURE_)(?!PATH$)(?!HOME$)[A-Za-z_][A-Za-z0-9_]*$"
107496
- },
107497
- "additionalProperties": {
107498
- "$ref": "#/definitions/pipeline/common/IdentitySpec"
107499
- },
107500
- "$schema": "http://json-schema.org/draft-07/schema#"
107501
- },
107502
- "IdentitySpec": {
107503
- "title": "IdentitySpec",
107504
- "type": "object",
107505
- "description": "Definition of a single named identity that produces an independent OIDC ID_TOKEN.\nThe identity name (the map key under identities) doubles as the environment variable\nthe step receives at runtime.\n",
107506
- "properties": {
107507
- "audience": {
107508
- "description": "Audience (aud) the minted ID_TOKEN is issued for.",
107509
- "type": "string",
107510
- "minLength": 1
107511
- },
107512
- "subjectTemplate": {
107513
- "description": "Template for the sub claim. Supports literals and allowlisted Harness expressions\n(e.g. <+account.identifier>, <+pipeline.identifier>, <+step.identifier>).\n",
107514
- "type": "string"
107515
- },
107516
- "customClaims": {
107517
- "description": "Additional custom claims stamped on this identity's token.",
107518
- "type": "object",
107519
- "additionalProperties": {
107520
- "type": "string"
107521
- }
107522
- },
107523
- "scope": {
107524
- "description": "Visibility scope of the identity. Step-level entries default to STEP.",
107525
- "type": "string",
107526
- "enum": [
107527
- "STEP",
107528
- "STAGE",
107529
- "PIPELINE"
107530
- ]
107531
- },
107532
- "disabled": {
107533
- "description": "When true, suppresses this identity (not generated, not injected).",
107534
- "oneOf": [
107535
- {
107536
- "type": "boolean"
107537
- },
107538
- {
107539
- "type": "string",
107540
- "pattern": "^<\\+input>$",
107541
- "minLength": 1
107542
- }
107543
- ]
107544
- },
107545
- "tokenMode": {
107546
- "description": "Token exchange mode for this identity.",
107547
- "type": "string",
107548
- "enum": [
107549
- "STANDARD",
107550
- "CLIENT_ASSERTION"
107551
- ]
107552
- },
107553
- "cloudProvider": {
107554
- "description": "Target cloud provider for this identity. Determines claim formatting (e.g. AWS session tags).",
107555
- "type": "string",
107556
- "enum": [
107557
- "AWS",
107558
- "GCP",
107559
- "AZURE",
107560
- "VAULT"
107561
- ]
107562
- }
107563
- },
107564
- "$schema": "http://json-schema.org/draft-07/schema#"
107565
- },
107566
108368
  "Timeout": {
107567
108369
  "title": "Timeout",
107568
108370
  "type": "string",
@@ -109312,6 +110114,9 @@ const schema = {
109312
110114
  "type": "string",
109313
110115
  "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
109314
110116
  },
110117
+ "identities": {
110118
+ "$ref": "#/definitions/pipeline/common/IdentitiesConfig"
110119
+ },
109315
110120
  "name": {
109316
110121
  "type": "string",
109317
110122
  "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
@@ -110166,6 +110971,9 @@ const schema = {
110166
110971
  {
110167
110972
  "$ref": "#/definitions/pipeline/steps/cd/HelmDeployStepNode"
110168
110973
  },
110974
+ {
110975
+ "$ref": "#/definitions/pipeline/steps/cd/HelmDryRunStepNode"
110976
+ },
110169
110977
  {
110170
110978
  "$ref": "#/definitions/pipeline/steps/cd/TasBGAppSetupStepNode"
110171
110979
  },
@@ -110490,6 +111298,9 @@ const schema = {
110490
111298
  {
110491
111299
  "$ref": "#/definitions/pipeline/steps/resiliencetesting/ChaosFaultNode"
110492
111300
  },
111301
+ {
111302
+ "$ref": "#/definitions/pipeline/steps/resiliencetesting/RiskScanStepNode"
111303
+ },
110493
111304
  {
110494
111305
  "$ref": "#/definitions/pipeline/steps/ci/AiEvalStepNode"
110495
111306
  },
@@ -110661,6 +111472,9 @@ const schema = {
110661
111472
  {
110662
111473
  "$ref": "#/definitions/pipeline/steps/cd/DownloadGcsStepNode"
110663
111474
  },
111475
+ {
111476
+ "$ref": "#/definitions/pipeline/steps/cd/DownloadNexusArtifactStepNode"
111477
+ },
110664
111478
  {
110665
111479
  "$ref": "#/definitions/pipeline/steps/cd/DownloadHarnessStoreStepNode"
110666
111480
  },
@@ -111342,6 +112156,9 @@ const schema = {
111342
112156
  "type": "string",
111343
112157
  "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
111344
112158
  },
112159
+ "identities": {
112160
+ "$ref": "#/definitions/pipeline/common/IdentitiesConfig"
112161
+ },
111345
112162
  "name": {
111346
112163
  "type": "string",
111347
112164
  "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
@@ -122021,6 +122838,9 @@ const schema = {
122021
122838
  "type": "string",
122022
122839
  "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
122023
122840
  },
122841
+ "identities": {
122842
+ "$ref": "#/definitions/pipeline/common/IdentitiesConfig"
122843
+ },
122024
122844
  "name": {
122025
122845
  "type": "string",
122026
122846
  "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
@@ -122363,6 +123183,9 @@ const schema = {
122363
123183
  {
122364
123184
  "$ref": "#/definitions/pipeline/steps/cd/DownloadGcsStepNode"
122365
123185
  },
123186
+ {
123187
+ "$ref": "#/definitions/pipeline/steps/cd/DownloadNexusArtifactStepNode"
123188
+ },
122366
123189
  {
122367
123190
  "$ref": "#/definitions/pipeline/steps/cd/DownloadHarnessStoreStepNode"
122368
123191
  },
@@ -122659,6 +123482,9 @@ const schema = {
122659
123482
  "type": "string",
122660
123483
  "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
122661
123484
  },
123485
+ "identities": {
123486
+ "$ref": "#/definitions/pipeline/common/IdentitiesConfig"
123487
+ },
122662
123488
  "name": {
122663
123489
  "type": "string",
122664
123490
  "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
@@ -123188,6 +124014,9 @@ const schema = {
123188
124014
  {
123189
124015
  "$ref": "#/definitions/pipeline/steps/cd/DownloadGcsStepNode"
123190
124016
  },
124017
+ {
124018
+ "$ref": "#/definitions/pipeline/steps/cd/DownloadNexusArtifactStepNode"
124019
+ },
123191
124020
  {
123192
124021
  "$ref": "#/definitions/pipeline/steps/cd/DownloadHarnessStoreStepNode"
123193
124022
  },