Skip to content

Commit

Permalink
Add corrections from 2021-03-01-preview (#16490)
Browse files Browse the repository at this point in the history
Co-authored-by: Anat Gilenson <anatgilenson@microsoft.com>
  • Loading branch information
anat-gilenson and Anat Gilenson authored Oct 29, 2021
1 parent efaca75 commit 7a8774b
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
"SourceControlProperties": {
"description": "Describes source control properties",
"properties": {
"sourceControlId": {
"id": {
"description": "The id (a Guid) of the source control",
"type": "string"
},
Expand Down Expand Up @@ -417,6 +417,14 @@
"description": "Branch name of repository.",
"type": "string"
},
"displayUrl": {
"description": "Display url of repository.",
"type": "string"
},
"deploymentLogsUrl": {
"description": "Url to access repository action logs.",
"type": "string"
},
"pathMapping": {
"description": "Dictionary of source control content type and path mapping.",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"repository": {
"url": "https://github.com/user/repo",
"branch": "master",
"displayUrl": "https://github.com/user/repo",
"pathMapping": [
{
"contentType": "AnalyticRules",
Expand All @@ -41,7 +42,7 @@
"type": "Microsoft.SecurityInsights/SourceControls",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"sourceControlId": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"id": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"displayName": "My Source Control",
"description": "this is a source control",
"repoType": "Github",
Expand All @@ -52,6 +53,8 @@
"repository": {
"url": "https://github.com/user/repo",
"branch": "master",
"displayUrl": "https://github.com/user/repo",
"deploymentLogsUrl": "https://github.com/user/repo/actions",
"pathMapping": [
{
"contentType": "AnalyticRules",
Expand All @@ -63,6 +66,14 @@
}
]
}
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
}
}
},
Expand All @@ -73,7 +84,7 @@
"type": "Microsoft.SecurityInsights/SourceControls",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"sourceControlId": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"id": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"displayName": "My Source Control",
"description": "this is a source control",
"repoType": "Github",
Expand All @@ -84,6 +95,8 @@
"repository": {
"url": "https://github.com/user/repo",
"branch": "master",
"displayUrl": "https://github.com/user/repo",
"deploymentLogsUrl": "https://github.com/user/repo/actions",
"pathMapping": [
{
"contentType": "AnalyticRules",
Expand All @@ -95,6 +108,14 @@
}
]
}
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "Microsoft.SecurityInsights/SourceControls",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"sourceControlId": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"id": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"displayName": "My Source Control",
"description": "this is a source control",
"repoType": "Github",
Expand All @@ -26,6 +26,8 @@
"repository": {
"url": "https://github.com/user/repo",
"branch": "master",
"displayUrl": "https://github.com/user/repo",
"deploymentLogsUrl": "https://github.com/user/repo/actions",
"pathMapping": [
{
"contentType": "AnalyticRules",
Expand All @@ -37,6 +39,14 @@
}
]
}
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"type": "Microsoft.SecurityInsights/SourceControls",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"sourceControlId": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"id": "789e0c1f-4a3d-43ad-809c-e713b677b04a",
"displayName": "My Source Control",
"description": "this is a source control",
"repoType": "Github",
Expand All @@ -27,6 +27,8 @@
"repository": {
"url": "https://github.com/user/repo",
"branch": "master",
"displayUrl": "https://github.com/user/repo",
"deploymentLogsUrl": "https://github.com/user/repo/actions",
"pathMapping": [
{
"contentType": "AnalyticRules",
Expand All @@ -38,6 +40,14 @@
}
]
}
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
}
}
]
Expand Down

0 comments on commit 7a8774b

Please sign in to comment.