You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/energy-data-services/how-to-manage-legal-tags.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.custom: template-how-to
12
12
# How to manage legal tags
13
13
In this article, you'll know what legal tags are and how to manage them in your Azure Data Manager for Energy instance.
14
14
15
-
A [legal tag](https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/) is the entity that represents the legal status of data ingestion and [entitlement service](concepts-entitlements.md) defines user access to data. A user may have access to manage the data using entitlements but need to fulfil certain legal requirements using legal tags. Legal tag is a collection of required properties that governs how data can be [ingested](concepts-csv-parser-ingestion.md) into your Azure Data Manager for Energy instance.
15
+
A [legal tag](https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/) is the entity that represents the legal status of data ingestion and [entitlement service](concepts-entitlements.md) defines user access to data. A user may have access to manage the data using entitlements but need to fulfill certain legal requirements using legal tags. Legal tag is a collection of required properties that governs how data can be [ingested](concepts-csv-parser-ingestion.md) into your Azure Data Manager for Energy instance.
16
16
17
17
The Azure Data Manager for Energy instance allows creation of legal tags only for `countryOfOrigin` that are allowed as per the configuration file [DefaultCountryCodes.json](https://community.opengroup.org/osdu/platform/security-and-compliance/legal/-/blob/master/legal-core/src/main/resources/DefaultCountryCode.json?ref_type=heads) at a data partition level. OSDU has defined this file and you can't edit it.
18
18
@@ -42,7 +42,7 @@ Run the curl command in Azure Cloud Bash to create a legal tag for a given data
42
42
```
43
43
44
44
### Sample request
45
-
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1"
45
+
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1":
46
46
47
47
```bash
48
48
curl --location --request POST 'https://medstest.energy.azure.com/api/legal/v1/legaltags' \
@@ -89,7 +89,7 @@ Consider an Azure Data Manager for Energy instance named `medstest` with a data
89
89
90
90
The country of origin should follow [ISO Alpha2 format](https://www.nationsonline.org/oneworld/country_code_list.htm).
91
91
92
-
This API, internally appends `data-partition-id` to legal tag name if it isn't already present. For instance, if request has name as: ```legal-tag```, then the create legal tag name would be ```<instancename>-<data-partition-id>-legal-tag```
92
+
This API internally appends `data-partition-id` to legal tag name if it isn't already present. For instance, if request has name as: ```legal-tag```, then the create legal tag name would be ```<instancename>-<data-partition-id>-legal-tag```.
93
93
94
94
```bash
95
95
curl --location --request POST 'https://medstest.energy.azure.com/api/legal/v1/legaltags' \
@@ -144,7 +144,7 @@ Run the curl command in Azure Cloud Bash to get the legal tag associated with a
144
144
```
145
145
146
146
### Sample request
147
-
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1"
147
+
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1":
148
148
149
149
```bash
150
150
curl --location --request GET 'https://medstest.energy.azure.com/api/legal/v1/legaltags/medstest-dp1-legal-tag' \
0 commit comments