From 693cc09afdde640f1cbc7f9ffa77152ffb275a62 Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 28 Jan 2026 13:19:22 -0800 Subject: [PATCH 1/2] add and remove volume activity messages --- components/schemas/hubs/activity/Activity.yml | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/components/schemas/hubs/activity/Activity.yml b/components/schemas/hubs/activity/Activity.yml index ecebdbaf..b2adf3bf 100644 --- a/components/schemas/hubs/activity/Activity.yml +++ b/components/schemas/hubs/activity/Activity.yml @@ -17,9 +17,9 @@ required: - time properties: id: - "$ref": "../../ID.yml" + $ref: ../../ID.yml hub_id: - "$ref": "../../HubID.yml" + $ref: ../../HubID.yml user: type: object description: Userscope @@ -31,13 +31,13 @@ properties: type: string description: The type of user. enum: - - "account" - - "environment" - - "platform" - - "platform-pipeline" - - "employee" - - "api-key" - - "visitor" + - account + - environment + - platform + - platform-pipeline + - employee + - api-key + - visitor id: type: string description: The given user's ID. @@ -55,7 +55,7 @@ properties: session: anyOf: - $ref: Session.yml - - type: "null" + - type: null changes: type: array description: An array of changes. @@ -75,7 +75,7 @@ properties: message: type: string description: The error message. - - type: "null" + - type: null component: description: An object holding information about a component. oneOf: @@ -85,11 +85,11 @@ properties: - type properties: id: - "$ref": "../../ID.yml" + $ref: ../../ID.yml type: type: string description: The type of component. - - type: "null" + - type: null tags: type: array description: An array of tags that denote things such as a type of security event, or can be user-provided. @@ -380,6 +380,10 @@ properties: - virtual-machine.rootpw.change - virtual-machine.task.volumes.reconfigure - virtual-machine.volumes.reconfigure + - virtual-machine.volumes.remove + - virtual-machine.task.volumes.remove + - virtual-machine.volumes.add + - virtual-machine.task.volumes.add - virtual-machine.ssh-key.create - virtual-machine.ssh-key.update @@ -393,4 +397,4 @@ properties: time: description: A timestamp for when the activity took place. - "$ref": "../../DateTime.yml" + $ref: ../../DateTime.yml From 1bce433b08a2537a017e585f35e7fd544cc68a1a Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 28 Jan 2026 13:22:26 -0800 Subject: [PATCH 2/2] add " around null" --- components/schemas/hubs/activity/Activity.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/schemas/hubs/activity/Activity.yml b/components/schemas/hubs/activity/Activity.yml index b2adf3bf..a21ec6e0 100644 --- a/components/schemas/hubs/activity/Activity.yml +++ b/components/schemas/hubs/activity/Activity.yml @@ -55,7 +55,7 @@ properties: session: anyOf: - $ref: Session.yml - - type: null + - type: "null" changes: type: array description: An array of changes. @@ -75,7 +75,7 @@ properties: message: type: string description: The error message. - - type: null + - type: "null" component: description: An object holding information about a component. oneOf: @@ -89,7 +89,7 @@ properties: type: type: string description: The type of component. - - type: null + - type: "null" tags: type: array description: An array of tags that denote things such as a type of security event, or can be user-provided.