855f1b132c
OVH API v1, 5 commands: get account, list cloud projects, list/get dedicated servers. SHA-1 signed application-key auth, stdlib-only. py_compile clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
75 lines
2.3 KiB
YAML
75 lines
2.3 KiB
YAML
id: ovhcloud
|
|
name: OVHcloud
|
|
version: 1.0.0
|
|
description: "OVHcloud (API v1) — cloud account and infrastructure visibility: read the account, list public cloud projects, and list/read dedicated servers. Signed application-key authentication; stdlib-only, no extra Python dependencies. (French vendor.)"
|
|
changelog: "1.0.0 — Initial release: get account, list cloud projects, list/get dedicated servers."
|
|
category: cloud
|
|
|
|
# Per-instance configuration. Requests are signed (SHA-1) with the application
|
|
# key/secret + consumer key. endpoint selects the region (eu/ca/us).
|
|
config_schema:
|
|
properties:
|
|
endpoint:
|
|
type: string
|
|
description: "OVH API endpoint"
|
|
default: "https://eu.api.ovh.com/1.0"
|
|
application_key:
|
|
type: string
|
|
description: "Application key"
|
|
application_secret:
|
|
type: string
|
|
description: "Application secret"
|
|
x-soar-sensitive: true
|
|
consumer_key:
|
|
type: string
|
|
description: "Consumer key"
|
|
x-soar-sensitive: true
|
|
required:
|
|
- application_key
|
|
- application_secret
|
|
- consumer_key
|
|
|
|
commands:
|
|
- id: get_account
|
|
name: ovh-get-account
|
|
description: "Get the current account (nichandle)."
|
|
risk: read
|
|
inputs_schema:
|
|
properties: {}
|
|
required: []
|
|
outputs_schema: { properties: {} }
|
|
- id: list_cloud_projects
|
|
name: ovh-list-cloud-projects
|
|
description: "List Public Cloud project IDs."
|
|
risk: read
|
|
inputs_schema:
|
|
properties: {}
|
|
required: []
|
|
outputs_schema: { properties: {} }
|
|
- id: list_dedicated_servers
|
|
name: ovh-list-dedicated-servers
|
|
description: "List dedicated server names."
|
|
risk: read
|
|
inputs_schema:
|
|
properties: {}
|
|
required: []
|
|
outputs_schema: { properties: {} }
|
|
- id: get_dedicated_server
|
|
name: ovh-get-dedicated-server
|
|
description: "Get a dedicated server's details."
|
|
risk: read
|
|
inputs_schema:
|
|
properties:
|
|
server_name: { type: string, description: "Dedicated server name" }
|
|
required: [server_name]
|
|
outputs_schema: { properties: {} }
|
|
|
|
- id: test_connection
|
|
name: ovh-test-connection
|
|
description: "Verify the signed credentials via /me (used by the Test button)."
|
|
risk: read
|
|
inputs_schema:
|
|
properties: {}
|
|
required: []
|
|
outputs_schema: { properties: {} }
|