From 19a4eb933b9961848ecde50eaff35d5bbfe90a52 Mon Sep 17 00:00:00 2001 From: TP Honey Date: Tue, 8 Oct 2024 15:46:49 +0100 Subject: [PATCH] Update account.proto Co-authored-by: Dylan --- account.proto | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/account.proto b/account.proto index 87efe14..8d73955 100644 --- a/account.proto +++ b/account.proto @@ -379,13 +379,20 @@ message SubmitSourceHeartbeatRequest { } message AdapterMetadata { - string type = 1; // rdap-domain // computer readable - AdapterCategory category = 2; // compute / storage / network / database / k8s / other - repeated string potentialLinks = 3; // The list of other types that this can be linked to, eg aws_eks_node_group -> aws_eks_cluster - string descriptiveName = 4; // RDAP Domain // human readable - string adapterDescription = 5; // full description of this item EG; "Uses RDAP to get the details of an Autonomous System Number (ASN) by number", - AdapterSupportedQueryMethods supportedQueryMethods = 6; // The supported query methods for this adapter - repeated TerraformMapping terraformMappings = 7; // The terraform mappings for this adapter + // The type of item that this adapter returns e.g. eks-cluster + string type = 1; + // The category that these items fall under + AdapterCategory category = 2; + // The list of other types that this can be linked to, eg eks-cluster -> + // eks-node-group + repeated string potentialLinks = 3; + // A descriptive name of the types of items that are returned by this + // adapter e.g. "EKS Cluster" + string descriptiveName = 4; + // The supported query methods for this adapter + AdapterSupportedQueryMethods supportedQueryMethods = 5; + // The terraform mappings for this adapter, this is optional + repeated TerraformMapping terraformMappings = 6; } enum AdapterCategory {