Skip to content

Commit 801006e

Browse files
eqtipBrian Zak
authored andcommitted
EASM 2022-11-01-preview version. (Azure#22591)
Co-authored-by: Brian Zak <[email protected]>
1 parent 088e0a1 commit 801006e

28 files changed

+13164
-26
lines changed

specification/riskiq/data-plane/Microsoft.Easm/preview/2022-11-01-preview/easm.json

Lines changed: 5291 additions & 0 deletions
Large diffs are not rendered by default.

specification/riskiq/data-plane/Microsoft.Easm/preview/2022-11-01-preview/examples/Assets_Get.json

Lines changed: 1038 additions & 0 deletions
Large diffs are not rendered by default.

specification/riskiq/data-plane/Microsoft.Easm/preview/2022-11-01-preview/examples/Assets_List.json

Lines changed: 3905 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"filter": "state%20%3D%20%22confirmed%22%20AND%20name%20%5E%3D%20%22contoso.com%22",
8+
"body": {
9+
"state": "confirmed",
10+
"externalId": "contosoInternalId",
11+
"labels": {
12+
"contosoLabel": true
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "ThisisaTaskId",
20+
"startedAt": "2022-05-02T19:30:14.432+00:00",
21+
"completedAt": "2022-05-02T19:30:54.432+00:00",
22+
"lastPolledAt": "2022-05-02T19:30:19.432+00:00",
23+
"state": "complete",
24+
"phase": "complete",
25+
"reason": "This is a Task id"
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup"
8+
},
9+
"responses": {
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "ThisisaDiscoGroup",
13+
"name": "ThisisaDiscoGroup",
14+
"displayName": "ThisisaDiscoGroup",
15+
"description": "This is a disco group",
16+
"tier": "advanced",
17+
"frequencyMilliseconds": 604800000,
18+
"seeds": [
19+
{
20+
"name": "thisisatest.microsoft.com",
21+
"kind": "host"
22+
}
23+
],
24+
"excludes": [],
25+
"templateId": "123",
26+
"latestRun": {
27+
"startedDate": "2022-05-02T19:30:14.432+00:00",
28+
"state": "completed"
29+
},
30+
"createdDate": "2022-05-02T19:30:14.432+00:00"
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"totalElements": 3,
12+
"totalPages": 1,
13+
"last": true,
14+
"numberOfElements": 3,
15+
"first": true,
16+
"size": 3,
17+
"number": 0,
18+
"content": [
19+
{
20+
"id": "ThisisaDiscoGroup",
21+
"name": "ThisisaDiscoGroup",
22+
"displayName": "ThisisaDiscoGroup",
23+
"description": "This is a disco group",
24+
"tier": "advanced",
25+
"frequencyMilliseconds": 0,
26+
"seeds": [
27+
{
28+
"name": "thisisatest.microsoft.com",
29+
"kind": "host"
30+
}
31+
],
32+
"excludes": [
33+
{
34+
"name": "thisisanothertest.microsoft.com",
35+
"kind": "host"
36+
}
37+
],
38+
"templateId": "123",
39+
"latestRun": {
40+
"startedDate": "2022-05-02T19:30:14.432+00:00",
41+
"state": "completed"
42+
},
43+
"createdDate": "2022-05-02T19:30:14.432+00:00"
44+
},
45+
{
46+
"id": "ThisisaDiscoGroup2",
47+
"name": "ThisisaDiscoGroup2",
48+
"displayName": "ThisisaDiscoGroup2",
49+
"description": "This is a disco group",
50+
"tier": "advanced",
51+
"frequencyMilliseconds": 604800000,
52+
"seeds": [],
53+
"excludes": [],
54+
"latestRun": null,
55+
"createdDate": "2022-05-02T19:30:14.432+00:00"
56+
},
57+
{
58+
"id": "ThisisaDiscoGroup3",
59+
"name": "ThisisaDiscoGroup3",
60+
"displayName": "ThisisaDiscoGroup3",
61+
"description": "This is a disco group",
62+
"tier": "advanced",
63+
"frequencyMilliseconds": 0,
64+
"seeds": [],
65+
"excludes": [],
66+
"latestRun": {
67+
"startedDate": "2022-05-02T19:30:14.432+00:00",
68+
"state": "completed"
69+
},
70+
"createdDate": "2022-05-02T19:30:14.432+00:00"
71+
}
72+
]
73+
}
74+
}
75+
}
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"totalElements": 2,
13+
"totalPages": 1,
14+
"last": true,
15+
"numberOfElements": 2,
16+
"first": true,
17+
"size": 20,
18+
"number": 0,
19+
"content": [
20+
{
21+
"submittedDate": "2022-03-29T23:10:01.000+00:00",
22+
"startedDate": "2022-03-29T23:10:32.000+00:00",
23+
"completedDate": "2022-03-29T23:11:24.000+00:00",
24+
"tier": "advanced",
25+
"state": "completed",
26+
"totalAssetsFoundCount": 33,
27+
"seeds": [
28+
{
29+
"name": "thisisatest.microsoft.com",
30+
"kind": "host"
31+
}
32+
],
33+
"excludes": []
34+
},
35+
{
36+
"submittedDate": "2022-04-08T16:09:03.000+00:00",
37+
"startedDate": "2022-04-08T16:09:03.000+00:00",
38+
"completedDate": "2022-04-08T16:09:18.000+00:00",
39+
"tier": "advanced",
40+
"state": "failed",
41+
"totalAssetsFoundCount": 0,
42+
"seeds": [
43+
{
44+
"name": "thisisatest.microsoft.com",
45+
"kind": "host"
46+
}
47+
],
48+
"excludes": []
49+
}
50+
]
51+
}
52+
}
53+
}
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup",
8+
"body": {
9+
"description": "This is a disco group",
10+
"frequencyMilliseconds": 604800000,
11+
"tier": "advanced",
12+
"seeds": [
13+
{
14+
"name": "thisisatest.microsoft.com",
15+
"kind": "host"
16+
}
17+
]
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"id": "ThisisaDiscoGroup",
24+
"name": "ThisisaDiscoGroup",
25+
"displayName": "ThisisaDiscoGroup",
26+
"description": "This is a disco group",
27+
"tier": "advanced",
28+
"frequencyMilliseconds": 604800000,
29+
"seeds": [
30+
{
31+
"name": "thisisatest.microsoft.com",
32+
"kind": "host"
33+
}
34+
],
35+
"excludes": [],
36+
"latestRun": null,
37+
"createdDate": "2022-05-02T19:30:14.432+00:00"
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup"
8+
},
9+
"responses": {
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"groupName": "ThisisaDiscoGroup",
8+
"body": {
9+
"description": "This is a disco group",
10+
"frequencyMilliseconds": 604800000,
11+
"tier": "advanced",
12+
"seeds": [
13+
{
14+
"name": "thisisatest.microsoft.com",
15+
"kind": "host"
16+
}
17+
]
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"error": null
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace",
7+
"templateId": "12345"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "12345",
13+
"name": "ThisisaDiscoTemplate",
14+
"displayName": "ThisisaDiscoTemplate",
15+
"industry": "Test Industry",
16+
"region": "United States and Canada",
17+
"countryCode": "US",
18+
"stateCode": "CA",
19+
"city": "Test City",
20+
"names": [
21+
"This is a name",
22+
"This is another name"
23+
],
24+
"seeds": [
25+
{
26+
"name": "test.com",
27+
"kind": "domain"
28+
},
29+
{
30+
"name": "12345",
31+
"kind": "as"
32+
},
33+
{
34+
"name": "[email protected]",
35+
"kind": "contact"
36+
}
37+
]
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "dummyrg",
6+
"workspaceName": "ThisisaWorkspace"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"totalElements": 1,
12+
"totalPages": 1,
13+
"last": true,
14+
"numberOfElements": 1,
15+
"first": true,
16+
"size": 20,
17+
"number": 0,
18+
"content": [
19+
{
20+
"id": "12345",
21+
"name": "ThisisaDiscoTemplate",
22+
"displayName": "ThisisaDiscoTemplate",
23+
"industry": "Test Industry",
24+
"region": "United States and Canada",
25+
"countryCode": "US",
26+
"stateCode": "CA",
27+
"city": "Test City",
28+
"names": [],
29+
"seeds": []
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)