Skip to content

Commit ccb71f4

Browse files
RishabhTyagiHubRishabh Tyagi
authored andcommitted
Metadata-Microsoft-Security-Insights-Metadata-API-Update (Azure#15780)
* Metadata-Microsoft-Security-Insights-Metadata-API-Update * newcommit * Metadata-Swagger-Update-SVG * Metadata-Update-Svg-Patch * Metadata-Swagger-Update * Updating-Example-Files * Update date to date-time * change-datetime-to-date * Remove-SVG-3 * Metadata-Swagger-Update * Category-to-Categories * Update-publish-date-in-examples * Update-publish-date-in-examples Co-authored-by: Rishabh Tyagi <rishabhtyagi@microsoft.com>
1 parent 489ad60 commit ccb71f4

File tree

3 files changed

+148
-4
lines changed

3 files changed

+148
-4
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Metadata.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,58 @@
591591
}
592592
}
593593
},
594+
"metadataCategories": {
595+
"type": "object",
596+
"description": "ies for the solution content item",
597+
"properties": {
598+
"domains": {
599+
"description": "domain for the solution content item",
600+
"type": "array",
601+
"example": [
602+
"str1",
603+
"str2",
604+
"str3"
605+
],
606+
"items": {
607+
"type": "string"
608+
}
609+
},
610+
"verticals": {
611+
"description": "Industry verticals for the solution content item",
612+
"type": "array",
613+
"items": {
614+
"type": "string"
615+
},
616+
"example": [
617+
"str1",
618+
"str2",
619+
"str3"
620+
]
621+
}
622+
}
623+
},
624+
"metadataProviders": {
625+
"description": "Providers for the solution content item",
626+
"type": "array",
627+
"example": [
628+
"str1",
629+
"str2",
630+
"str3"
631+
],
632+
"items": {
633+
"type": "string"
634+
}
635+
},
636+
"firstPublishDate": {
637+
"description": "first publish date of solution content item",
638+
"type": "string",
639+
"format": "date"
640+
},
641+
"lastPublishDate": {
642+
"description": "last publish date of solution content item",
643+
"type": "string",
644+
"format": "date"
645+
},
594646
"metadataProperties": {
595647
"description": "Metadata property bag.",
596648
"required": [
@@ -630,6 +682,22 @@
630682
"dependencies": {
631683
"$ref": "#/definitions/metadataDependencies",
632684
"description": "Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats."
685+
},
686+
"categories": {
687+
"$ref": "#/definitions/metadataCategories",
688+
"description": "Categories for the solution content item"
689+
},
690+
"providers": {
691+
"$ref": "#/definitions/metadataProviders",
692+
"description": "Providers for the solution content item"
693+
},
694+
"firstPublishDate": {
695+
"$ref": "#/definitions/firstPublishDate",
696+
"description": "first publish date solution content item"
697+
},
698+
"lastPublishDate": {
699+
"$ref": "#/definitions/lastPublishDate",
700+
"description": "last publish date for the solution content item"
633701
}
634702
}
635703
},
@@ -668,6 +736,22 @@
668736
"dependencies": {
669737
"$ref": "#/definitions/metadataDependencies",
670738
"description": "Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats."
739+
},
740+
"categories": {
741+
"$ref": "#/definitions/metadataCategories",
742+
"description": "Categories for the solution content item"
743+
},
744+
"providers": {
745+
"$ref": "#/definitions/metadataProviders",
746+
"description": "Providers for the solution content item"
747+
},
748+
"firstPublishDate": {
749+
"$ref": "#/definitions/firstPublishDate",
750+
"description": "first publish date solution content item"
751+
},
752+
"lastPublishDate": {
753+
"$ref": "#/definitions/lastPublishDate",
754+
"description": "last publish date for the solution content item"
671755
}
672756
}
673757
}

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/metadata/GetMetadata.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,22 @@
6464
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
6565
}
6666
]
67-
}
67+
},
68+
"categories": {
69+
"domains": [
70+
"Application",
71+
"Security – Insider Threat"
72+
],
73+
"verticals": [
74+
"Healthcare"
75+
]
76+
},
77+
"providers": [
78+
"Amazon",
79+
"Microsoft"
80+
],
81+
"firstPublishDate": "2021-05-18",
82+
"lastPublishDate": "2021-05-18"
6883
}
6984
}
7085
}

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/metadata/PutMetadata.json

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,22 @@
5959
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
6060
}
6161
]
62-
}
62+
},
63+
"categories": {
64+
"domains": [
65+
"Application",
66+
"Security – Insider Threat"
67+
],
68+
"verticals": [
69+
"Healthcare"
70+
]
71+
},
72+
"providers": [
73+
"Amazon",
74+
"Microsoft"
75+
],
76+
"firstPublishDate": "2021-05-18",
77+
"lastPublishDate": "2021-05-18"
6378
}
6479
}
6580
},
@@ -120,7 +135,22 @@
120135
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
121136
}
122137
]
123-
}
138+
},
139+
"categories": {
140+
"domains": [
141+
"Application",
142+
"Security – Insider Threat"
143+
],
144+
"verticals": [
145+
"Healthcare"
146+
]
147+
},
148+
"providers": [
149+
"Amazon",
150+
"Microsoft"
151+
],
152+
"firstPublishDate": "2021-05-18",
153+
"lastPublishDate": "2021-05-18"
124154
}
125155
}
126156
},
@@ -180,7 +210,22 @@
180210
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
181211
}
182212
]
183-
}
213+
},
214+
"categories": {
215+
"domains": [
216+
"Application",
217+
"Security – Insider Threat"
218+
],
219+
"verticals": [
220+
"Healthcare"
221+
]
222+
},
223+
"providers": [
224+
"Amazon",
225+
"Microsoft"
226+
],
227+
"firstPublishDate": "2021-05-18",
228+
"lastPublishDate": "2021-05-18"
184229
}
185230
}
186231
}

0 commit comments

Comments
 (0)