Skip to content

Fetch labels for bigquery dataset/table #372

@rahmatrhd

Description

@rahmatrhd

Summary
BigQuery dataset/table has some metadata that hasn't been fetched into guardian resource details. We want to fetch them and store them in the resource details for some use case such as determining the dataset/table owner and pii flag

Proposed solution
add metadata field within details:

// resource
{
  "id": "",
  ...
  "details": {
+    "metadata": {
+      "labels": {
+        "key": "value"
+      },
+.     "other_metadata": ""
+    }
  }
}

Other requirements:

  • In the updateResource API, metadata field should not be updateable by the user. It only can be updated from FetchResource

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions