Skip to content

Commit

Permalink
[Security Center] Minor fixes to new assessments version (#8357)
Browse files Browse the repository at this point in the history
* [Security Center] Minor fixes to new assessments version

* Update specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json

* Update specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json
  • Loading branch information
chlahav authored Feb 13, 2020
1 parent aa38dd5 commit 9c480a2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"Assessments Metadata"
],
"description": "Get metadata information on all assessment types in a specific subscription",
"operationId": "AssessmentsMetadataSubscription_List",
"operationId": "AssessmentsMetadata_ListBySubscription",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -156,7 +156,7 @@
"Assessments Metadata"
],
"description": "Get metadata information on an assessment type in a specific subscription",
"operationId": "AssessmentsMetadataSubscription_Get",
"operationId": "AssessmentsMetadata_GetInSubscription",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -193,7 +193,7 @@
"Assessments Metadata"
],
"description": "Create metadata information on an assessment type in a specific subscription",
"operationId": "AssessmentsMetadataSubscription_Create",
"operationId": "AssessmentsMetadata_CreateInSubscription",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -233,7 +233,7 @@
"Assessments Metadata"
],
"description": "Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription",
"operationId": "AssessmentsMetadataSubscription_Delete",
"operationId": "AssessmentsMetadata_DeleteInSubscription",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
Expand Down Expand Up @@ -520,7 +520,6 @@
"properties": {
"partnerName": {
"type": "string",
"readOnly": true,
"description": "Name of the company of the partner"
},
"productName": {
Expand All @@ -532,7 +531,11 @@
"description": "Secret to authenticate the partner and verify it created the assessment - write only",
"x-ms-secret": true
}
}
},
"required": [
"partnerName",
"secret"
]
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,20 @@
"type": "object",
"description": "Data regarding 3rd party partner integration",
"properties": {
"partnerName": {
"type": "string",
"description": "Name of the company of the partner"
},
"secret": {
"type": "string",
"description": "secret to authenticate the partner - write only",
"x-ms-secret": true
}
}
},
"required": [
"partnerName",
"secret"
]
},
"AssessmentLinks": {
"type": "object",
Expand Down

0 comments on commit 9c480a2

Please sign in to comment.