Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sherylueen appcomplianceautomation microsoft.app compliance automation 2024 06 27 #28981

Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ad22902
Adds base for updating Microsoft.AppComplianceAutomation from version…
Sherylueen Apr 12, 2024
083d7d4
Updates readme
Sherylueen Apr 12, 2024
f781bec
Updates API version in new specs and examples
Sherylueen Apr 12, 2024
7df3638
add new stable version for Microsoft.AppComplianceAutomation
May 6, 2024
006e937
remove the useless example file
May 6, 2024
679295b
fix spell check
May 6, 2024
fd3974d
remove query in get evidence api
May 7, 2024
57cf305
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
May 7, 2024
f38e437
remove the singleton annotation
May 15, 2024
2a7b656
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
May 15, 2024
f9d6ef9
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
May 17, 2024
43620c5
fix compile error
May 17, 2024
3b37384
fix compile error of v56
May 17, 2024
6055b3a
Merge branch 'main' into Sherylueen-appcomplianceautomation-Microsoft…
markcowl May 17, 2024
30fe501
fix compile error
May 20, 2024
b36776f
fix all compile error and make the swagger align with before
May 21, 2024
c165a74
Merge branch 'Sherylueen-appcomplianceautomation-Microsoft.AppComplia…
May 21, 2024
0f1a8d5
tsp prettier
May 21, 2024
5dc6ca7
change scoping name
May 21, 2024
180a6a2
upgrade the commontypes from v3 to v5
May 23, 2024
048e2e0
change commonTypes version to v3
May 23, 2024
bfc7709
add service-dir
May 28, 2024
11985c0
Merge branch 'main' into Sherylueen-appcomplianceautomation-Microsoft…
msyyc May 28, 2024
3aa5f88
format tspconfig.yaml
May 29, 2024
c283b14
Merge branch 'Sherylueen-appcomplianceautomation-Microsoft.AppComplia…
May 29, 2024
ed5859a
modify tspconfig.yaml
May 29, 2024
8e39339
remove custom operations
May 30, 2024
e8c77ac
modify re pattern of snapshot name
May 30, 2024
1b6934d
make the resource x-ms-client-name properties
May 30, 2024
e9a88d5
format typespec
May 30, 2024
ca49a04
remove suffix of snapshot
May 30, 2024
e4dd975
use requestBody replace parameters
May 31, 2024
14c7615
Revert "use requestBody replace parameters"
May 31, 2024
b5616b1
tsp format
May 31, 2024
e7b523b
remove dotnet from tspconfig.yaml and add azure-sdk-for-net-track2 in…
May 31, 2024
999f591
add sdk-suppressions.yaml
Alancere May 31, 2024
92ae528
Update tspconfig.yaml
weidongxu-microsoft May 31, 2024
dcc0afb
Update tspconfig.yaml
weidongxu-microsoft May 31, 2024
a8d266b
rename operationid
Jun 3, 2024
ad08e27
Merge branch 'Sherylueen-appcomplianceautomation-Microsoft.AppComplia…
Jun 3, 2024
7336d75
rename getScopingQuestions and move model reportBaseProperties to alias
Jun 3, 2024
8cbd1c6
Merge branch 'main' into Sherylueen-appcomplianceautomation-Microsoft…
msyyc Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parameters": {
"api-version": "2024-06-27",
"evidenceName": "evidence1",
"parameters": {
"properties": {
"controlId": "Operational_Security_10",
"evidenceType": "File",
"filePath": "/test-byos/evidence1.png",
"responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services"
}
},
"reportName": "testReportName"
},
"responses": {
"200": {
"body": {
"name": "evidence1",
"type": "Microsfot.AppComplianceAutomation/reports/evidences",
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName/evidences/evidence1",
"properties": {
"controlId": "Operational_Security_10",
"evidenceType": "File",
"extraData": "sampleData",
"filePath": "/acat-container/evidence1.png",
"provisioningState": "Succeeded",
"responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services"
},
"systemData": {
"createdAt": "2021-05-14T22:34:55.4499903Z",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdByType": "User",
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z",
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
"lastModifiedByType": "User"
}
}
},
"201": {
"body": {
"name": "evidence1",
"type": "Microsfot.AppComplianceAutomation/reports/evidences",
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName/evidences/evidence1",
"properties": {
"controlId": "Operational_Security_10",
"evidenceType": "File",
"extraData": "sampleData",
"filePath": "/acat-container/evidence1.png",
"provisioningState": "Succeeded",
"responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services"
},
"systemData": {
"createdAt": "2021-05-14T22:34:55.4499903Z",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdByType": "User",
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z",
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
"lastModifiedByType": "User"
}
}
}
},
"operationId": "Evidence_CreateOrUpdate",
"title": "Evidence_CreateOrUpdate"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2024-06-27",
"evidenceName": "evidence1",
"reportName": "testReportName"
},
"responses": {
"200": {},
"204": {}
},
"operationId": "Evidence_Delete",
"title": "Evidence_Delete"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2024-06-27",
"evidenceName": "evidence1",
"parameters": {
"offerGuid": "00000000-0000-0000-0000-000000000000",
"reportCreatorTenantId": "00000000-0000-0000-0000-000000000000"
},
"reportName": "testReportName"
},
"responses": {
"200": {
"body": {
"evidenceFile": {
"url": "this is a url"
}
}
}
},
"operationId": "Evidence_Download",
"title": "Evidence_Download"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2024-06-27",
"evidenceName": "evidence1",
"reportName": "testReportName"
},
"responses": {
"200": {
"body": {
"name": "evidence1",
"type": "Microsfot.AppComplianceAutomation/reports/evidences",
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName/evidences/evidence1",
"properties": {
"controlId": "Operational_Security_10",
"evidenceType": "File",
"extraData": "sampleData",
"filePath": "/acat-container/evidence1.png",
"provisioningState": "Succeeded",
"responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services"
},
"systemData": {
"createdAt": "2021-05-14T22:34:55.4499903Z",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdByType": "User",
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z",
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
"lastModifiedByType": "User"
}
}
}
},
"operationId": "Evidence_Get",
"title": "Evidence_Get"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"api-version": "2024-06-27",
"reportName": "reportName"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "evidence1",
"type": "Microsfot.AppComplianceAutomation/reports/evidences",
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName/evidences/evidence1",
"properties": {
"controlId": "Operational_Security_10",
"evidenceType": "File",
"extraData": "sampleData",
"filePath": "/acat-container/evidence1.png",
"provisioningState": "Succeeded",
"responsibilityId": "authorized_ip_ranges_should_be_defined_on_kubernetes_services"
},
"systemData": {
"createdAt": "2021-05-14T22:34:55.4499903Z",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdByType": "User",
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z",
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
"lastModifiedByType": "User"
}
}
]
}
}
},
"operationId": "Evidence_ListByReport",
"title": "Evidence_ListByReport"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"operationId": "ProviderActions_ListInUseStorageAccounts",
"title": "ListInUseStorageAccountsWithSubscriptions",
"parameters": {
"api-version": "2024-06-27",
"parameters": {
"subscriptionIds": [
"0000000-0000-0000-0000-000000000001",
"0000000-0000-0000-0000-000000000002"
]
}
},
"responses": {
"200": {
"body": {
"storageAccountList": [
{
"subscriptionId": "0000000-0000-0000-0000-000000000001",
"resourceGroup": "tetsRG",
"accountName": "SA_name1",
"location": "WEST US"
},
{
"subscriptionId": "0000000-0000-0000-0000-000000000001",
"resourceGroup": "tetsRG",
"accountName": "SA_name2",
"location": "WEST US"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"operationId": "ProviderActions_ListInUseStorageAccounts",
"title": "ListInUseStorageAccountsWithoutSubscriptions",
"parameters": {
"api-version": "2024-06-27",
"parameters": {}
},
"responses": {
"200": {
"body": {
"storageAccountList": [
{
"subscriptionId": "0000000-0000-0000-0000-000000000001",
"resourceGroup": "tetsRG",
"accountName": "SA_name1",
"location": "WEST US"
},
{
"subscriptionId": "0000000-0000-0000-0000-000000000001",
"resourceGroup": "tetsRG",
"accountName": "SA_name2",
"location": "WEST US"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"operationId": "ProviderActions_Onboard",
"title": "Onboard",
"parameters": {
"api-version": "2024-06-27",
"parameters": {
"subscriptionIds": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000001"
]
}
},
"responses": {
"200": {
"body": {
"subscriptionIds": [
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000001"
]
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}",
"Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "Operations_List",
"operationId": "Operations_List",
"parameters": {
"api-version": "2024-06-27"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.AppComplianceAutomation/reports/write",
"isDataAction": false,
"display": {
"provider": "Microsoft AppComplianceAutomation",
"resource": "Microsoft.AppComplianceAutomation/reports",
"operation": "Microsoft.AppComplianceAutomation/reports/write",
"description": "Create new reports."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"operationId": "ProviderActions_CheckNameAvailability",
"title": "Report_CheckNameAvailability",
"parameters": {
"api-version": "2024-06-27",
"parameters": {
"name": "reportABC",
"type": "Microsoft.AppComplianceAutomation/reports"
}
},
"responses": {
"200": {
"body": {
"message": "An report named 'reportABC' is already in use.",
"nameAvailable": false,
"reason": "AlreadyExists"
}
}
}
}
Loading