Skip to content

Commit c3db7e0

Browse files
committed
security update V7
1 parent 4763ff8 commit c3db7e0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/data-manager-for-agri/how-to-set-up-audit-logs.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Each log follows the schema listed in the table. The table contains the field na
3737
| **operationName** |Name of the operation, as documented. |
3838
| **operationVersion** |REST API version requested by the client. |
3939
| **category** |Type of result. |
40-
| **resultType** |Result of the REST API request. |
40+
| **resultType** |Result of the REST API request (success or failure). |
4141
| **resultSignature** |HTTP status. |
4242
| **resultDescription** |Extra description about the result, when available. |
4343
| **durationMs** |Time it took to service the REST API request, in milliseconds.|
@@ -46,7 +46,7 @@ Each log follows the schema listed in the table. The table contains the field na
4646
| **correlationId** |An optional GUID that can be used to correlate logs. |
4747
| **identity** |Identity from the token that was presented in the REST API request. This is usually an object ID and an application ID or either of the two.|
4848
|**location**|The region of the resource emitting the event such as "East US" |
49-
| **properties** |For each `operationName` this contains: `requestUri` (URI of the API request), `farmerId`(farmerId associated with the request, wherever applicable),`dataPlaneResourceId` (ID that uniquely identifies the data-plane resource in the request) and `requestBody` (contains the request body for the API call associated with the `operationName` for all categories other than ApplicationAuditLogs). </br> Other than the common one's mentioned before `jobProcessesLogs` category has: </br> 1. This list fields across operationNames: </br> `jobRunType` (can be oneTime or periodic), `jobId` (ID of the job), `initiatedBy` (indicates whether a job was triggered by a user or by the service). </br> 2. This list of fields only for farmOperation related jobs: </br> `farmOperationEntityId` (ID of the entity that failed to be created by the farmOperation job), `farmOperationEntityType`(type of the entity that failed to be created), `errorCode`(code for job failure), `errorMessage`(description of failure), `internalErrorCode`(failure code provide by the provider), `internalErrorMessage`(description of the failure provided by the provider), `providerId`(ID of the provider).
49+
| **properties** |For each `operationName` this contains: `requestUri` (URI of the API request), `farmerId`(farmerId associated with the request, wherever applicable),`dataPlaneResourceId` (ID that uniquely identifies the data-plane resource in the request) and `requestBody` (contains the request body for the API call associated with the `operationName` for all categories other than ApplicationAuditLogs). </br> Other than the common one's mentioned before `jobProcessesLogs` category has: </br> 1. This list fields across operationNames: </br> `jobRunType` (can be oneTime or periodic), `jobId` (ID of the job), `initiatedBy` (indicates whether a job was triggered by a user or by the service). </br> 2. This list of fields for failed farmOperation related jobs: </br> `farmOperationEntityId` (ID of the entity that failed to be created by the farmOperation job), `farmOperationEntityType`(type of the entity that failed to be created), `errorCode`(code for job failure), `errorMessage`(description of failure), `internalErrorCode`(failure code provide by the provider), `internalErrorMessage`(description of the failure provided by the provider), `providerId`(ID of the provider).
5050

5151

5252
The `categories` field for Data Manager for Agriculture can have values that are listed in the following table:
@@ -256,7 +256,7 @@ All the `categories` of resource logs are mapped as a table in log analytics. To
256256
|**OperationName** |Name of the operation, as documented in the earlier table. |
257257
|**OperationVersion** |REST API version requested by the client. |
258258
|**Category** |Category details in the Data Manager for Agriculture logs, this can be any value as listed in the category table. |
259-
|**ResultType** |Result of the REST API request. |
259+
|**ResultType** |Result of the REST API request (success or failure). |
260260
|**ResultSignature** |HTTP status. |
261261
|**ResultDescription** |More description about the result, when available. |
262262
|**DurationMs** |Time it took to service the REST API request, in milliseconds.|
@@ -279,11 +279,11 @@ Each of these tables can be queried by creating a log analytics workspace. Refer
279279
### List of sample queries in the log analytics workspace
280280
| Query name | Description |
281281
| --- | --- |
282-
|**Status of farm management operations for a farmer** |Fetches a count of successes and failures of operations within the `FarmManagementLogs` category for each farmer.
283-
|**Job execution statistics for a farmer**| Provides a count of successes and failures of for all operations in the `JobProcessedLogs` category for each farmer.
282+
|**Status of farm management operations for a party** |Fetches a count of successes and failures of operations within the `FarmManagementLogs` category for each party.
283+
|**Job execution statistics for a party**| Provides a count of successes and failures of for all operations in the `JobProcessedLogs` category for each party.
284284
|**Failed Authorization**|Identifies a list of users who failed to access your resource and the reason for this failure.
285-
|**Status of all operations for a farmer**|Aggregates failures and successes across categories for a farmer. Provide
286-
|**Usage trends for top 100 farmers based on the operations performed**|Retrieves a list of top 100 farmers based on the number of hits received across categories. This query can be edited to track trend of usage for a particular farmer.|
285+
|**Status of all operations for a party**|Aggregates failures and successes across categories for a party.
286+
|**Usage trends for top 100 parties based on the operations performed**|Retrieves a list of top 100 parties based on the number of hits received across categories. This query can be edited to track trend of usage for a particular party.|
287287

288288
All the queries listed above can be used as base queries to form custom queries in a log analytics workspace. This list of queries can also be accessed in the `Logs` tab in your Azure Data Manager for Agriculture resource on Azure portal.
289289

0 commit comments

Comments
 (0)