Skip to content

Commit 2ebb6ca

Browse files
authored
Update how-to-manage-legal-tags.md
1 parent b997adf commit 2ebb6ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/energy-data-services/how-to-manage-legal-tags.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ ms.custom: template-how-to
1212
# How to manage legal tags
1313
In this article, you'll know what legal tags are and how to manage them in your Azure Data Manager for Energy instance.
1414

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 within a data partition however, they may not be able to do so until certain legal requirements are fulfilled. 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 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.
1616

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. This file is defined by OSDU and cann't be edited.
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.
1818

1919
## Create a legal tag
2020
Run the curl command in Azure Cloud Bash to create a legal tag for a given data partition of your Azure Data Manager for Energy instance.
@@ -42,7 +42,7 @@ Run the curl command in Azure Cloud Bash to create a legal tag for a given data
4242
```
4343

4444
### 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"
4646

4747
```bash
4848
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
8989

9090
The country of origin should follow [ISO Alpha2 format](https://www.nationsonline.org/oneworld/country_code_list.htm).
9191

92-
The Create Legal Tag 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```
9393

9494
```bash
9595
curl --location --request POST 'https://medstest.energy.azure.com/api/legal/v1/legaltags' \
@@ -135,7 +135,7 @@ The sample response has `data-partition-id` appended to the legal tag name.
135135
```
136136

137137
## Get a legal tag
138-
Run the below curl command in Azure Cloud Bash to get the legal tag associated with a data partition of your Azure Data Manager for Energy instance.
138+
Run the curl command in Azure Cloud Bash to get the legal tag associated with a data partition of your Azure Data Manager for Energy instance.
139139

140140
```bash
141141
curl --location --request GET 'https://<URI>/api/legal/v1/legaltags/<legal-tag-name>' \
@@ -144,7 +144,7 @@ Run the below curl command in Azure Cloud Bash to get the legal tag associated w
144144
```
145145

146146
### 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"
148148

149149
```bash
150150
curl --location --request GET 'https://medstest.energy.azure.com/api/legal/v1/legaltags/medstest-dp1-legal-tag' \

0 commit comments

Comments
 (0)