harness-mcp-v2 3.2.16 → 3.2.17

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 (61) hide show
  1. package/README.md +54 -40
  2. package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
  3. package/build/data/schemas/v0/pipeline.js +418 -3
  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 +434 -3
  7. package/build/data/schemas/v0/template.js.map +1 -1
  8. package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
  9. package/build/data/schemas/v1/pipeline.js +12 -5
  10. package/build/data/schemas/v1/pipeline.js.map +1 -1
  11. package/build/data/schemas/v1/template.d.ts.map +1 -1
  12. package/build/data/schemas/v1/template.js +12 -5
  13. package/build/data/schemas/v1/template.js.map +1 -1
  14. package/build/registry/enum-utils.d.ts +22 -0
  15. package/build/registry/enum-utils.d.ts.map +1 -0
  16. package/build/registry/enum-utils.js +47 -0
  17. package/build/registry/enum-utils.js.map +1 -0
  18. package/build/registry/extractors.d.ts +23 -0
  19. package/build/registry/extractors.d.ts.map +1 -1
  20. package/build/registry/extractors.js +35 -0
  21. package/build/registry/extractors.js.map +1 -1
  22. package/build/registry/index.d.ts.map +1 -1
  23. package/build/registry/index.js +6 -0
  24. package/build/registry/index.js.map +1 -1
  25. package/build/registry/toolsets/ai-evals.d.ts.map +1 -1
  26. package/build/registry/toolsets/ai-evals.js +80 -8
  27. package/build/registry/toolsets/ai-evals.js.map +1 -1
  28. package/build/registry/toolsets/chaos-descriptions.d.ts +46 -0
  29. package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
  30. package/build/registry/toolsets/chaos-descriptions.js +61 -0
  31. package/build/registry/toolsets/chaos-descriptions.js.map +1 -1
  32. package/build/registry/toolsets/chaos.d.ts.map +1 -1
  33. package/build/registry/toolsets/chaos.js +388 -2
  34. package/build/registry/toolsets/chaos.js.map +1 -1
  35. package/build/registry/toolsets/evidence-vault.d.ts +13 -0
  36. package/build/registry/toolsets/evidence-vault.d.ts.map +1 -0
  37. package/build/registry/toolsets/evidence-vault.js +264 -0
  38. package/build/registry/toolsets/evidence-vault.js.map +1 -0
  39. package/build/registry/toolsets/iacm.d.ts.map +1 -1
  40. package/build/registry/toolsets/iacm.js +1 -0
  41. package/build/registry/toolsets/iacm.js.map +1 -1
  42. package/build/registry/toolsets/pipelines.d.ts.map +1 -1
  43. package/build/registry/toolsets/pipelines.js +36 -12
  44. package/build/registry/toolsets/pipelines.js.map +1 -1
  45. package/build/registry/toolsets/pull-requests.d.ts.map +1 -1
  46. package/build/registry/toolsets/pull-requests.js +5 -5
  47. package/build/registry/toolsets/pull-requests.js.map +1 -1
  48. package/build/registry/toolsets/sto.d.ts.map +1 -1
  49. package/build/registry/toolsets/sto.js +3 -1
  50. package/build/registry/toolsets/sto.js.map +1 -1
  51. package/build/registry/toolsets/templates.d.ts.map +1 -1
  52. package/build/registry/toolsets/templates.js +143 -4
  53. package/build/registry/toolsets/templates.js.map +1 -1
  54. package/build/registry/types.d.ts +1 -1
  55. package/build/registry/types.d.ts.map +1 -1
  56. package/build/tools/harness-list.js +1 -1
  57. package/build/tools/harness-list.js.map +1 -1
  58. package/build/tools/harness-update.js +4 -5
  59. package/build/tools/harness-update.js.map +1 -1
  60. package/npm-shrinkwrap.json +12 -12
  61. package/package.json +5 -5
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![MCP Toplist](https://mcptoplist.com/badge/glama%2Fharness%2Fmcp-server.svg)](https://mcptoplist.com/server/glama%2Fharness%2Fmcp-server)
4
4
 
5
- An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 216 resource types.
5
+ An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 220 resource types.
6
6
 
7
7
  ## Why Use This MCP Server
8
8
 
@@ -10,8 +10,8 @@ Most MCP servers map one tool per API endpoint. For a platform as broad as Harne
10
10
 
11
11
  This server is built differently:
12
12
 
13
- - **11 tools, 216 resource types.** A registry-based dispatch system routes `harness_list`, `harness_get`, `harness_create`, etc. to any Harness resource — pipelines, services, environments, orgs, projects, feature flags, cost data, and more. The LLM picks from 11 tools instead of hundreds.
14
- - **Full platform coverage.** 37 default toolsets spanning CI/CD, GitOps, Feature Flags, Cloud Cost Management, Security Testing, Chaos Engineering, Database DevOps, Internal Developer Portal, Software Supply Chain, Infrastructure as Code Management, Governance, Service Overrides, Knowledge Graph, and more. Opt-in Ansible coverage is available when you need inventory and playbook data.
13
+ - **11 tools, 220 resource types.** A registry-based dispatch system routes `harness_list`, `harness_get`, `harness_create`, etc. to any Harness resource — pipelines, services, environments, orgs, projects, feature flags, cost data, and more. The LLM picks from 11 tools instead of hundreds.
14
+ - **Full platform coverage.** 38 default toolsets spanning CI/CD, GitOps, Feature Flags, Cloud Cost Management, Security Testing, Chaos Engineering, Database DevOps, Internal Developer Portal, Software Supply Chain, Infrastructure as Code Management, Governance, Service Overrides, Knowledge Graph, and more. Opt-in Ansible coverage is available when you need inventory and playbook data.
15
15
  - **Multi-project workflows out of the box.** Agents discover organizations and projects dynamically — no hardcoded env vars needed. Ask "show failed executions across all projects" and the agent can navigate the full account hierarchy.
16
16
  - **34 prompt templates.** Pre-built prompts for common workflows: build & deploy apps end-to-end, debug failed pipelines, review DORA metrics, triage vulnerabilities, optimize cloud costs, audit access control, plan feature flag rollouts, review pull requests, approve pending pipelines, and more.
17
17
  - **Works everywhere.** Stdio transport for local clients (Claude Desktop, Cursor, Devin Desktop), HTTP transport for remote/shared deployments, Docker and Kubernetes ready.
@@ -1199,7 +1199,7 @@ Harness pipelines can be stored in three ways:
1199
1199
 
1200
1200
  ## Resource Types
1201
1201
 
1202
- 216 resource types organized across 37 toolsets. Each resource type supports a subset of CRUD operations and optional execute actions.
1202
+ 220 resource types organized across 38 toolsets. Each resource type supports a subset of CRUD operations and optional execute actions.
1203
1203
 
1204
1204
  ### Platform
1205
1205
 
@@ -1509,38 +1509,40 @@ Use `harness_execute(resource_type="pull_request", action="close", ...)` for an
1509
1509
  ### Chaos Engineering
1510
1510
 
1511
1511
 
1512
- | Resource Type | List | Get | Create | Update | Delete | Execute Actions |
1513
- | ---------------------------- | ---- | --- | ------ | ------ | ------ | ---------------------- |
1514
- | `chaos_experiment` | x | x | x | | x | `run`, `stop` |
1515
- | `chaos_experiment_run` | | x | | | | |
1516
- | `chaos_experiment_variable` | x | | | | | |
1517
- | `chaos_component_variable` | | x | | | | |
1518
- | `chaos_input_set` | x | x | x | x | x | |
1519
- | `chaos_experiment_template` | x | x | | | x | `create_from_template` |
1520
- | `chaos_probe` | x | x | x | | x | `enable`, `verify` |
1521
- | `chaos_probe_in_run` | x | | | | | |
1522
- | `chaos_probe_template` | x | x | | | x | |
1523
- | `chaos_infrastructure` | x | | | | | |
1524
- | `chaos_k8s_infrastructure` | x | x | | | | `check_health` |
1525
- | `chaos_environment` | x | | | | | |
1526
- | `chaos_hub` | x | x | x | x | x | |
1527
- | `chaos_hub_fault` | x | | | | | |
1528
- | `chaos_fault` | x | x | | | x | |
1529
- | `chaos_fault_template` | x | x | | | x | |
1530
- | `chaos_fault_experiment_run` | x | | | | | |
1531
- | `chaos_action` | x | x | | | x | |
1532
- | `chaos_action_template` | x | x | | | x | |
1533
- | `chaos_loadtest` | x | x | x | | x | `run`, `stop` |
1534
- | `chaos_application_map` | x | x | | | | |
1535
- | `discovered_namespace` | x | | | | | |
1536
- | `discovered_service` | x | | | | | |
1537
- | `discovered_network_map` | x | | | | | |
1538
- | `chaos_guard_condition` | x | x | | | x | |
1539
- | `chaos_guard_rule` | x | x | | | x | `enable` |
1540
- | `chaos_recommendation` | x | x | | | | |
1541
- | `chaos_risk` | x | x | | | | |
1542
- | `chaos_dr_test` | x | | x | | | |
1543
-
1512
+ | Resource Type | List | Get | Create | Update | Delete | Execute Actions |
1513
+ |------------------------------| ---- | --- | ------ | ------ | ------ |----------------------------------------------------------|
1514
+ | `chaos_experiment` | x | x | x | | x | `run`, `stop` |
1515
+ | `chaos_experiment_run` | | x | | | | |
1516
+ | `chaos_experiment_variable` | x | | | | | |
1517
+ | `chaos_component_variable` | | x | | | | |
1518
+ | `chaos_input_set` | x | x | x | x | x | |
1519
+ | `chaos_experiment_template` | x | x | | | x | `create_from_template` |
1520
+ | `chaos_probe` | x | x | x | | x | `enable`, `verify` |
1521
+ | `chaos_probe_in_run` | x | | | | | |
1522
+ | `chaos_probe_template` | x | x | | | x | |
1523
+ | `chaos_infrastructure` | x | | | | | |
1524
+ | `chaos_k8s_infrastructure` | x | x | | | | `check_health` |
1525
+ | `chaos_environment` | x | | | | | |
1526
+ | `chaos_hub` | x | x | x | x | x | |
1527
+ | `chaos_hub_fault` | x | | | | | |
1528
+ | `chaos_fault` | x | x | | | x | |
1529
+ | `chaos_fault_template` | x | x | | | x | |
1530
+ | `chaos_fault_experiment_run` | x | | | | | |
1531
+ | `chaos_action` | x | x | | | x | |
1532
+ | `chaos_action_template` | x | x | | | x | |
1533
+ | `chaos_loadtest` | x | x | x | | x | `run`, `stop` |
1534
+ | `chaos_application_map` | x | x | | | | |
1535
+ | `discovered_namespace` | x | | | | | |
1536
+ | `discovered_service` | x | | | | | |
1537
+ | `discovered_network_map` | x | | | | | |
1538
+ | `chaos_guard_condition` | x | x | | | x | |
1539
+ | `chaos_guard_rule` | x | x | | | x | `enable` |
1540
+ | `chaos_recommendation` | x | x | | | | |
1541
+ | `chaos_risk` | x | x | | | | |
1542
+ | `chaos_dr_test` | x | | x | | | |
1543
+ | `scanned_risk` | x | x | | | | `occurrences`, `summary_by_service` |
1544
+ | `chaos_risk_rule` | x | x | | | | |
1545
+ | `chaos_risk_scan` | x | x | x | x | x | `retry`, `abort`, `report`, `report_download`, `heatmap` |
1544
1546
 
1545
1547
  ### Cloud Cost Management (CCM)
1546
1548
 
@@ -1598,6 +1600,17 @@ SEI resources are consolidated for token efficiency. Use `metric` or `aspect` pa
1598
1600
  | `scs_sbom` | | x | | | | |
1599
1601
 
1600
1602
 
1603
+ ### Evidence Vault
1604
+
1605
+ Evidence Vault stores in-toto attestations (SDLC evidences). List supports account/org/project scope via `resource_scope`. Singular free-text filters (pipeline, artifact alone, gitoid) use `search_term`; an additional Name constraint uses `filters.subject_name`; subject content digest uses `filters.subject_digest`. Get looks up by `gitoid_sha256` and requires `org_id`/`project_id` (from the list row). Requires feature flag `SCS_EVIDENCE_VAULT`.
1606
+
1607
+
1608
+ | Resource Type | List | Get | Create | Update | Delete | Execute Actions |
1609
+ | ------------- | ---- | --- | ------ | ------ | ------ | --------------- |
1610
+ | `attestation` | x | x | | | | |
1611
+
1612
+
1613
+
1601
1614
  ### Security Testing Orchestration (STO)
1602
1615
 
1603
1616
 
@@ -1743,7 +1756,7 @@ Security exemption execute workflow:
1743
1756
 
1744
1757
  ## Toolset Filtering
1745
1758
 
1746
- By default, 37 of 38 toolsets are enabled. One toolset is opt-in and excluded from the defaults:
1759
+ By default, 38 of 39 toolsets are enabled. One toolset is opt-in and excluded from the defaults:
1747
1760
 
1748
1761
  - **`ansible`** — Harness Ansible (inventories, playbooks, hosts, activity). Opt-in because it is project-scoped and adds concepts many users do not need.
1749
1762
 
@@ -1806,10 +1819,11 @@ Available toolset names:
1806
1819
  | `pull-requests` | pull_request, pr_reviewer, pr_comment, pr_check, pr_activity |
1807
1820
  | `feature-flags` | fme_workspace, fme_environment, fme_feature_flag, fme_feature_flag_definition, fme_rollout_status, fme_rule_based_segment, fme_rule_based_segment_definition, fme_traffic_type, fme_identity, fme_standard_segment, fme_segment_keys |
1808
1821
  | `gitops` | gitops_agent, gitops_application, gitops_cluster, gitops_repository, gitops_applicationset, gitops_repo_credential, gitops_app_event, gitops_pod_log, gitops_managed_resource, gitops_resource_action, gitops_dashboard, gitops_app_resource_tree |
1809
- | `chaos` | chaos_experiment, chaos_experiment_run, chaos_experiment_variable, chaos_component_variable, chaos_input_set, chaos_experiment_template, chaos_probe, chaos_probe_in_run, chaos_probe_template, chaos_infrastructure, chaos_k8s_infrastructure, chaos_environment, chaos_hub, chaos_hub_fault, chaos_fault, chaos_fault_template, chaos_fault_experiment_run, chaos_action, chaos_action_template, chaos_loadtest, chaos_application_map, discovered_namespace, discovered_service, discovered_network_map, chaos_guard_condition, chaos_guard_rule, chaos_recommendation, chaos_risk, chaos_dr_test |
1822
+ | `chaos` | chaos_experiment, chaos_experiment_run, chaos_experiment_variable, chaos_component_variable, chaos_input_set, chaos_experiment_template, chaos_probe, chaos_probe_in_run, chaos_probe_template, chaos_infrastructure, chaos_k8s_infrastructure, chaos_environment, chaos_hub, chaos_hub_fault, chaos_fault, chaos_fault_template, chaos_fault_experiment_run, chaos_action, chaos_action_template, chaos_loadtest, chaos_application_map, discovered_namespace, discovered_service, discovered_network_map, chaos_guard_condition, chaos_guard_rule, chaos_recommendation, chaos_risk, chaos_dr_test, scanned_risk, chaos_risk_rule, chaos_risk_scan |
1810
1823
  | `ccm` | cost_perspective, cost_breakdown, cost_timeseries, cost_summary, cost_recommendation, cost_anomaly, cost_anomaly_summary, cost_category, cost_account_overview, cost_filter_value, cost_recommendation_stats, cost_recommendation_detail, cost_commitment |
1811
1824
  | `sei` | sei_metric, sei_productivity_metric, sei_dora_metric, sei_team, sei_team_detail, sei_org_tree, sei_org_tree_detail, sei_business_alignment, sei_ai_usage, sei_ai_adoption, sei_ai_impact, sei_ai_raw_metric |
1812
1825
  | `scs` | scs_artifact_source, artifact_security, scs_artifact_component, scs_artifact_remediation, scs_chain_of_custody, scs_compliance_result, code_repo_security, scs_sbom |
1826
+ | `evidence-vault` | attestation |
1813
1827
  | `sto` | security_issue, security_issue_filter, security_exemption, sast_remediation_diff |
1814
1828
  | `dbops` | database_schema, database_instance, database_snapshot_object, database_llm_authoring_pipeline |
1815
1829
  | `access_control` | user, user_group, service_account, role, role_assignment, resource_group, permission |
@@ -1839,8 +1853,8 @@ Available toolset names:
1839
1853
  |
1840
1854
  +--------v---------+
1841
1855
  | Registry | <-- Declarative resource definitions
1842
- | 37 Toolsets | (data files, not code)
1843
- | 216 Resource Types|
1856
+ | 38 Toolsets | (data files, not code)
1857
+ | 220 Resource Types|
1844
1858
  +--------+---------+
1845
1859
  |
1846
1860
  +--------v---------+
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v0/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAm7uH/B,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v0/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAk1vH/B,CAAC;AACF,eAAe,MAAM,CAAC"}
@@ -16039,6 +16039,22 @@ const schema = {
16039
16039
  }
16040
16040
  }
16041
16041
  }
16042
+ },
16043
+ {
16044
+ "if": {
16045
+ "properties": {
16046
+ "type": {
16047
+ "const": "MythosAgent"
16048
+ }
16049
+ }
16050
+ },
16051
+ "then": {
16052
+ "properties": {
16053
+ "spec": {
16054
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentStepInfo"
16055
+ }
16056
+ }
16057
+ }
16042
16058
  }
16043
16059
  ]
16044
16060
  },
@@ -28963,9 +28979,284 @@ const schema = {
28963
28979
  "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
28964
28980
  },
28965
28981
  "config": {
28982
+ "oneOf": [
28983
+ {
28984
+ "type": "string",
28985
+ "enum": [
28986
+ "default",
28987
+ "full",
28988
+ "incremental"
28989
+ ]
28990
+ },
28991
+ {
28992
+ "type": "string",
28993
+ "pattern": "(<\\+.+>.*)",
28994
+ "minLength": 1
28995
+ }
28996
+ ]
28997
+ },
28998
+ "connectorRef": {
28999
+ "type": "string"
29000
+ },
29001
+ "imageTag": {
29002
+ "type": "string"
29003
+ },
29004
+ "imagePullPolicy": {
29005
+ "oneOf": [
29006
+ {
29007
+ "type": "string",
29008
+ "enum": [
29009
+ "Always",
29010
+ "Never",
29011
+ "IfNotPresent"
29012
+ ]
29013
+ },
29014
+ {
29015
+ "type": "string",
29016
+ "pattern": "(<\\+.+>.*)",
29017
+ "minLength": 1
29018
+ }
29019
+ ]
29020
+ },
29021
+ "ingestion": {
29022
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlIngestion"
29023
+ },
29024
+ "mode": {
29025
+ "oneOf": [
29026
+ {
29027
+ "type": "string",
29028
+ "enum": [
29029
+ "ingestion",
29030
+ "orchestration"
29031
+ ]
29032
+ },
29033
+ {
29034
+ "type": "string",
29035
+ "pattern": "(<\\+.+>.*)",
29036
+ "minLength": 1
29037
+ }
29038
+ ]
29039
+ },
29040
+ "outputVariables": {
29041
+ "oneOf": [
29042
+ {
29043
+ "type": "array",
29044
+ "items": {
29045
+ "$ref": "#/definitions/pipeline/common/OutputNGVariable"
29046
+ }
29047
+ },
29048
+ {
29049
+ "type": "string",
29050
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29051
+ "minLength": 1
29052
+ }
29053
+ ]
29054
+ },
29055
+ "privileged": {
29056
+ "oneOf": [
29057
+ {
29058
+ "type": "boolean"
29059
+ },
29060
+ {
29061
+ "type": "string",
29062
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29063
+ "minLength": 1
29064
+ }
29065
+ ]
29066
+ },
29067
+ "resources": {
29068
+ "$ref": "#/definitions/pipeline/common/ContainerResource"
29069
+ },
29070
+ "runAsUser": {
29071
+ "oneOf": [
29072
+ {
29073
+ "type": "integer",
29074
+ "format": "int32"
29075
+ },
29076
+ {
29077
+ "type": "string"
29078
+ }
29079
+ ]
29080
+ },
29081
+ "settings": {
29082
+ "oneOf": [
29083
+ {
29084
+ "$ref": "#/definitions/pipeline/common/ParameterFieldMapStringJsonNode"
29085
+ },
29086
+ {
29087
+ "type": "string"
29088
+ }
29089
+ ]
29090
+ },
29091
+ "target": {
29092
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29093
+ }
29094
+ }
29095
+ }
29096
+ ],
29097
+ "$schema": "http://json-schema.org/draft-07/schema#",
29098
+ "type": "object",
29099
+ "required": [
29100
+ "config",
29101
+ "mode",
29102
+ "target"
29103
+ ],
29104
+ "properties": {
29105
+ "advanced": {
29106
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAdvancedSettings"
29107
+ },
29108
+ "auth": {
29109
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAuth"
29110
+ },
29111
+ "baseImageConnectorRefs": {
29112
+ "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
29113
+ },
29114
+ "config": {
29115
+ "oneOf": [
29116
+ {
28966
29117
  "type": "string",
28967
29118
  "enum": [
28968
- "default"
29119
+ "default",
29120
+ "full",
29121
+ "incremental"
29122
+ ]
29123
+ },
29124
+ {
29125
+ "type": "string",
29126
+ "pattern": "(<\\+.+>.*)",
29127
+ "minLength": 1
29128
+ }
29129
+ ]
29130
+ },
29131
+ "connectorRef": {
29132
+ "type": "string"
29133
+ },
29134
+ "imageTag": {
29135
+ "type": "string"
29136
+ },
29137
+ "imagePullPolicy": {
29138
+ "oneOf": [
29139
+ {
29140
+ "type": "string",
29141
+ "enum": [
29142
+ "Always",
29143
+ "Never",
29144
+ "IfNotPresent"
29145
+ ]
29146
+ },
29147
+ {
29148
+ "type": "string",
29149
+ "pattern": "(<\\+.+>.*)",
29150
+ "minLength": 1
29151
+ }
29152
+ ]
29153
+ },
29154
+ "ingestion": {
29155
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlIngestion"
29156
+ },
29157
+ "mode": {
29158
+ "oneOf": [
29159
+ {
29160
+ "type": "string",
29161
+ "enum": [
29162
+ "ingestion",
29163
+ "orchestration"
29164
+ ]
29165
+ },
29166
+ {
29167
+ "type": "string",
29168
+ "pattern": "(<\\+.+>.*)",
29169
+ "minLength": 1
29170
+ }
29171
+ ]
29172
+ },
29173
+ "outputVariables": {
29174
+ "oneOf": [
29175
+ {
29176
+ "type": "array",
29177
+ "items": {
29178
+ "$ref": "#/definitions/pipeline/common/OutputNGVariable"
29179
+ }
29180
+ },
29181
+ {
29182
+ "type": "string",
29183
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29184
+ "minLength": 1
29185
+ }
29186
+ ]
29187
+ },
29188
+ "privileged": {
29189
+ "oneOf": [
29190
+ {
29191
+ "type": "boolean"
29192
+ },
29193
+ {
29194
+ "type": "string",
29195
+ "pattern": "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|selectManyFrom|default|regex)\\(.+?\\)))*$",
29196
+ "minLength": 1
29197
+ }
29198
+ ]
29199
+ },
29200
+ "resources": {
29201
+ "$ref": "#/definitions/pipeline/common/ContainerResource"
29202
+ },
29203
+ "runAsUser": {
29204
+ "oneOf": [
29205
+ {
29206
+ "type": "integer",
29207
+ "format": "int32"
29208
+ },
29209
+ {
29210
+ "type": "string"
29211
+ }
29212
+ ]
29213
+ },
29214
+ "settings": {
29215
+ "oneOf": [
29216
+ {
29217
+ "$ref": "#/definitions/pipeline/common/ParameterFieldMapStringJsonNode"
29218
+ },
29219
+ {
29220
+ "type": "string"
29221
+ }
29222
+ ]
29223
+ },
29224
+ "target": {
29225
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29226
+ },
29227
+ "description": {
29228
+ "desc": "This is the description for OpenAiStepInfo"
29229
+ }
29230
+ }
29231
+ },
29232
+ "MythosAgentStepInfo": {
29233
+ "title": "MythosAgentStepInfo",
29234
+ "allOf": [
29235
+ {
29236
+ "$ref": "#/definitions/pipeline/common/StepSpecType"
29237
+ },
29238
+ {
29239
+ "type": "object",
29240
+ "required": [
29241
+ "config",
29242
+ "mode",
29243
+ "target"
29244
+ ],
29245
+ "properties": {
29246
+ "advanced": {
29247
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAdvancedSettings"
29248
+ },
29249
+ "auth": {
29250
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlAuth"
29251
+ },
29252
+ "baseImageConnectorRefs": {
29253
+ "$ref": "#/definitions/pipeline/steps/ci/ParameterFieldListString"
29254
+ },
29255
+ "config": {
29256
+ "type": "string",
29257
+ "enum": [
29258
+ "hunt",
29259
+ "scan"
28969
29260
  ]
28970
29261
  },
28971
29262
  "connectorRef": {
@@ -29063,6 +29354,9 @@ const schema = {
29063
29354
  },
29064
29355
  "target": {
29065
29356
  "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29357
+ },
29358
+ "tool": {
29359
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlMythosAgentToolData"
29066
29360
  }
29067
29361
  }
29068
29362
  }
@@ -29087,7 +29381,8 @@ const schema = {
29087
29381
  "config": {
29088
29382
  "type": "string",
29089
29383
  "enum": [
29090
- "default"
29384
+ "hunt",
29385
+ "scan"
29091
29386
  ]
29092
29387
  },
29093
29388
  "connectorRef": {
@@ -29186,11 +29481,30 @@ const schema = {
29186
29481
  "target": {
29187
29482
  "$ref": "#/definitions/pipeline/steps/common/STOYamlTarget"
29188
29483
  },
29484
+ "tool": {
29485
+ "$ref": "#/definitions/pipeline/steps/common/STOYamlMythosAgentToolData"
29486
+ },
29189
29487
  "description": {
29190
- "desc": "This is the description for OpenAiStepInfo"
29488
+ "desc": "This is the description for MythosAgentStepInfo"
29191
29489
  }
29192
29490
  }
29193
29491
  },
29492
+ "STOYamlMythosAgentToolData": {
29493
+ "title": "STOYamlMythosAgentToolData",
29494
+ "type": "object",
29495
+ "properties": {
29496
+ "model": {
29497
+ "type": "string"
29498
+ },
29499
+ "base_url": {
29500
+ "type": "string"
29501
+ },
29502
+ "description": {
29503
+ "desc": "This is the description for STOYamlMythosAgentToolData"
29504
+ }
29505
+ },
29506
+ "$schema": "http://json-schema.org/draft-07/schema#"
29507
+ },
29194
29508
  "CheckovScanNode": {
29195
29509
  "title": "CheckovScanNode",
29196
29510
  "type": "object",
@@ -42766,6 +43080,101 @@ const schema = {
42766
43080
  }
42767
43081
  ]
42768
43082
  },
43083
+ "MythosAgentNode": {
43084
+ "title": "MythosAgentNode",
43085
+ "type": "object",
43086
+ "required": [
43087
+ "identifier",
43088
+ "name",
43089
+ "spec",
43090
+ "type"
43091
+ ],
43092
+ "properties": {
43093
+ "description": {
43094
+ "type": "string",
43095
+ "desc": "This is the description for MythosAgentNode"
43096
+ },
43097
+ "enforce": {
43098
+ "$ref": "#/definitions/pipeline/common/PolicyConfig"
43099
+ },
43100
+ "failureStrategies": {
43101
+ "oneOf": [
43102
+ {
43103
+ "type": "array",
43104
+ "items": {
43105
+ "$ref": "#/definitions/pipeline/common/FailureStrategyConfig"
43106
+ }
43107
+ },
43108
+ {
43109
+ "type": "string",
43110
+ "pattern": "^<\\+input>$",
43111
+ "minLength": 1
43112
+ }
43113
+ ]
43114
+ },
43115
+ "identifier": {
43116
+ "type": "string",
43117
+ "pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
43118
+ },
43119
+ "name": {
43120
+ "type": "string",
43121
+ "pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
43122
+ },
43123
+ "strategy": {
43124
+ "oneOf": [
43125
+ {
43126
+ "$ref": "#/definitions/pipeline/common/StrategyConfig"
43127
+ },
43128
+ {
43129
+ "type": "string",
43130
+ "pattern": "^<\\+input>$",
43131
+ "minLength": 1
43132
+ }
43133
+ ]
43134
+ },
43135
+ "timeout": {
43136
+ "type": "string",
43137
+ "pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
43138
+ },
43139
+ "type": {
43140
+ "type": "string",
43141
+ "enum": [
43142
+ "MythosAgent"
43143
+ ]
43144
+ },
43145
+ "when": {
43146
+ "oneOf": [
43147
+ {
43148
+ "$ref": "#/definitions/pipeline/common/StepWhenCondition"
43149
+ },
43150
+ {
43151
+ "type": "string",
43152
+ "pattern": "^<\\+input>$",
43153
+ "minLength": 1
43154
+ }
43155
+ ]
43156
+ }
43157
+ },
43158
+ "$schema": "http://json-schema.org/draft-07/schema#",
43159
+ "allOf": [
43160
+ {
43161
+ "if": {
43162
+ "properties": {
43163
+ "type": {
43164
+ "const": "MythosAgent"
43165
+ }
43166
+ }
43167
+ },
43168
+ "then": {
43169
+ "properties": {
43170
+ "spec": {
43171
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentStepInfo"
43172
+ }
43173
+ }
43174
+ }
43175
+ }
43176
+ ]
43177
+ },
42769
43178
  "SscaAibomOrchestrationStepNode": {
42770
43179
  "title": "SscaAibomOrchestrationStepNode",
42771
43180
  "type": "object",
@@ -117335,6 +117744,9 @@ const schema = {
117335
117744
  {
117336
117745
  "$ref": "#/definitions/pipeline/steps/common/OpenAiNode"
117337
117746
  },
117747
+ {
117748
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentNode"
117749
+ },
117338
117750
  {
117339
117751
  "$ref": "#/definitions/pipeline/steps/common/SscaEnforcementStepNode"
117340
117752
  },
@@ -118110,6 +118522,9 @@ const schema = {
118110
118522
  {
118111
118523
  "$ref": "#/definitions/pipeline/steps/common/OpenAiNode"
118112
118524
  },
118525
+ {
118526
+ "$ref": "#/definitions/pipeline/steps/common/MythosAgentNode"
118527
+ },
118113
118528
  {
118114
118529
  "$ref": "#/definitions/pipeline/steps/common/SscaComplianceStepNode"
118115
118530
  },