Skip to content
Open
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4d214d6
Add Versions enum and decorate preview-only resource files
May 24, 2026
0ef3151
Decorate preview-only declarations in models.tsp
May 25, 2026
c302e64
Fix Entity versioning
May 27, 2026
717342f
Versioning models.tsp
AdiMegid Jun 1, 2026
2807478
Versioning AlertRule, Bookmark, DataConnector, routes, Relation
AdiMegid Jun 2, 2026
75d3f7c
Add 'using TypeSpec.Versioning;' to files using @added
AdiMegid Jun 3, 2026
7c5dba9
Add openapi.json + examples for 2025-09-01 and 2025-10-01-preview
AdiMegid Jun 3, 2026
a39610d
Switch stable/2025-09-01 to single openapi.json; delete split files a…
AdiMegid Jun 3, 2026
4e19e03
Add tag package-preview-2025-10-01 to readme
AdiMegid Jun 3, 2026
5595a63
Revert AATP/MCAS/MDATP/MSTI model names to PascalCase to fix casing-s…
AdiMegid Jun 3, 2026
2f96edc
Run tsp format (remove trailing blank line in Entity.tsp)
AdiMegid Jun 3, 2026
74886e6
Fix api-version in 2025-10-01-preview examples
AdiMegid Jun 7, 2026
93c91e4
Restore stable/2025-09-01/common/1.0/types.json (pre-existing orphan)
AdiMegid Jun 7, 2026
4d3220a
Fix Incidents_RunPlaybook 204 response: remove unknown body
AdiMegid Jun 7, 2026
831d9ed
Revert "Fix Incidents_RunPlaybook 204 response: remove unknown body"
AdiMegid Jun 7, 2026
3cd360a
Add 204 body to stable Incidents_RunPlaybook example to match spec
AdiMegid Jun 7, 2026
2b63a61
Preserve SecurityInsights schema compatibility
Copilot Jun 9, 2026
58c1b44
Revert last commit (TSP schema changes)
AdiMegid Jun 9, 2026
d373ecb
Fix Watchlist headers
AdiMegid Jun 14, 2026
0251220
Add 204 body to Incidents_RunPlaybook example to match schema
AdiMegid Jun 14, 2026
3594f6b
fix headers
AdiMegid Jun 14, 2026
7c5a495
fix required status changes for Package/Template/ScheduledAlertRule m…
AdiMegid Jun 16, 2026
ee5350a
fix required status for ScheduledAlertRuleCommonProperties and Page<T…
AdiMegid Jun 16, 2026
6ab0a97
fix x-ms-enum names for flag and triggerWhen
AdiMegid Jun 17, 2026
36d5580
fix x-ms-enum names
AdiMegid Jun 17, 2026
f09a2a9
fix x-ms-enum names for (MetadataDependencyOperator, PullRequestState…
AdiMegid Jun 21, 2026
3a227ef
add readOnly to nextLink properties
AdiMegid Jun 21, 2026
0bd9522
restore package base props to PackageBaseProperties
AdiMegid Jun 22, 2026
2a1c198
Revert "restore package base props to PackageBaseProperties"
AdiMegid Jun 22, 2026
b03a0c5
rename metadataDependencies kind enum to metadataKind
AdiMegid Jun 22, 2026
88dd614
revert metadataKind rename
AdiMegid Jun 22, 2026
436da14
revert required status changes for Package/Template
AdiMegid Jun 28, 2026
f982b7d
fix typeSpec validation
AdiMegid Jun 29, 2026
6ea8fae
fix Java SDK build: remove ScheduledAlertRuleProperties required rede…
AdiMegid Jun 29, 2026
dd8c91e
Remove redundant supressions
guywilfshukrun-msft Jul 6, 2026
527a9cb
remove supress
guywilfshukrun-msft Jul 6, 2026
501915e
Merge branch 'main' into securityinsights-add-versions
guywilfshukrun Jul 6, 2026
a09c389
revert camelcase to pascalcase
guywilfshukrun-msft Jul 6, 2026
cf0ca45
fix PascalCase
guywilfshukrun-msft Jul 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;

Expand Down Expand Up @@ -78,6 +79,7 @@ interface AlertRules {
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
@operationId("alertRule_TriggerRuleRun")
@tag("trigger analytics rule run")
@added(Versions.v2025_10_01_preview)
triggerRuleRun is Extension.ActionAsyncBase<
OperationalInsights,
AlertRule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
// FIXME: BillingStatistic has no properties property
Expand Down Expand Up @@ -63,3 +64,6 @@ interface BillingStatistics {
@@doc(BillingStatistic.name, "The name of the billing statistic");
@@minLength(Extension.ExternalResource.name, 1);
@@maxLength(Extension.ExternalResource.name, 90);

@@added(BillingStatistic, Versions.v2025_10_01_preview);
@@added(BillingStatistics, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -72,6 +73,7 @@ interface Bookmarks {
* Expand an bookmark
*/
@tag("Bookmark")
@added(Versions.v2025_10_01_preview)
expand is Extension.ActionSync<
OperationalInsights,
Bookmark,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -74,6 +75,7 @@ interface DataConnectors {
* Connects a data connector.
*/
@tag("Data Connectors Connect")
@added(Versions.v2025_10_01_preview)
connect is Extension.ActionSync<
OperationalInsights,
DataConnector,
Expand All @@ -86,6 +88,7 @@ interface DataConnectors {
* Disconnect a data connector.
*/
@tag("Data Connectors Disconnect")
@added(Versions.v2025_10_01_preview)
disconnect is Extension.ActionSync<
OperationalInsights,
DataConnector,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
// FIXME: Entity has no properties property
Expand All @@ -32,12 +33,14 @@ interface Entities {
* Gets an entity.
*/
@tag("Entities")
@added(Versions.v2025_10_01_preview)
get is Extension.Read<workspaceExternalResource, Entity, Error = CloudError>;

/**
* Gets all entities.
*/
@tag("Entities")
@added(Versions.v2025_10_01_preview)
list is Extension.ListByTarget<
workspaceExternalResource,
Entity,
Expand Down Expand Up @@ -67,6 +70,7 @@ interface Entities {
* Expands an entity.
*/
@tag("Entities")
@added(Versions.v2025_10_01_preview)
expand is Extension.ActionSync<
workspaceExternalResource,
Entity,
Expand All @@ -81,6 +85,7 @@ interface Entities {
@get
@list
@tag("Entities")
@added(Versions.v2025_10_01_preview)
queries is Extension.ActionSync<
workspaceExternalResource,
Entity,
Expand All @@ -100,6 +105,7 @@ interface Entities {
* Execute Insights for an entity.
*/
@tag("Entities")
@added(Versions.v2025_10_01_preview)
getInsights is Extension.ActionSync<
workspaceExternalResource,
Entity,
Expand All @@ -115,6 +121,7 @@ interface Entities {
@operationId("EntitiesGetTimeline_list")
@action("getTimeline")
@tag("Entities")
@added(Versions.v2025_10_01_preview)
entitiesGetTimelineList is Extension.ActionSync<
workspaceExternalResource,
Entity,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
// FIXME: EntityQuery has no properties property
Expand Down Expand Up @@ -122,3 +123,7 @@ interface EntityQueries {
EntityQueries.createOrUpdate::parameters.resource,
"The entity query we want to create or update"
);

@@added(EntityQuery, Versions.v2025_10_01_preview);
@@added(EntityQueriesOps, Versions.v2025_10_01_preview);
@@added(EntityQueries, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
// FIXME: EntityQueryTemplate has no properties property
Expand Down Expand Up @@ -58,3 +59,6 @@ interface EntityQueryTemplates {
}

@@doc(EntityQueryTemplate.name, "entity query template ID");

@@added(EntityQueryTemplate, Versions.v2025_10_01_preview);
@@added(EntityQueryTemplates, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -91,3 +92,6 @@ interface FileImports {
@@doc(FileImport.name, "File import ID");
@@doc(FileImport.properties, "File import properties");
@@doc(FileImports.create::parameters.resource, "The file import");

@@added(FileImport, Versions.v2025_10_01_preview);
@@added(FileImports, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -92,3 +93,6 @@ interface Hunts {
@@doc(Hunt.name, "The hunt id (GUID)");
@@doc(Hunt.properties, "Hunt properties");
@@doc(Hunts.createOrUpdate::parameters.resource, "The hunt");

@@added(Hunt, Versions.v2025_10_01_preview);
@@added(Hunts, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -99,3 +100,6 @@ interface HuntComments {
@@doc(HuntComment.name, "The hunt comment id (GUID)");
@@doc(HuntComment.properties, "Hunt Comment properties");
@@doc(HuntComments.createOrUpdate::parameters.resource, "The hunt comment");

@@added(HuntComment, Versions.v2025_10_01_preview);
@@added(HuntComments, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -93,3 +94,6 @@ interface HuntRelations {
@@doc(HuntRelation.name, "The hunt relation id (GUID)");
@@doc(HuntRelation.properties, "Hunt Relation properties");
@@doc(HuntRelations.createOrUpdate::parameters.resource, "The hunt relation");

@@added(HuntRelation, Versions.v2025_10_01_preview);
@@added(HuntRelations, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -76,3 +77,6 @@ interface Jobs {

@@doc(Job.name, "The job name");
@@doc(Job.properties, "The job object");

@@added(Job, Versions.v2025_10_01_preview);
@@added(Jobs, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -59,3 +60,6 @@ interface OfficeConsents {

@@doc(OfficeConsent.name, "consent ID");
@@doc(OfficeConsent.properties, "Office consent properties");

@@added(OfficeConsent, Versions.v2025_10_01_preview);
@@added(OfficeConsents, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -86,3 +87,6 @@ interface Recommendations {
Recommendations.recommendation::parameters.properties,
"Recommendation Fields to Update."
);

@@added(Recommendation, Versions.v2025_10_01_preview);
@@added(Recommendations, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -96,6 +97,7 @@ interface Relations {
}

@armResourceOperations
@added(Versions.v2025_10_01_preview)
interface BookmarkRelationsOps
extends Azure.ResourceManager.Legacy.ExtensionOperations<
{
Expand Down Expand Up @@ -148,6 +150,7 @@ interface BookmarkRelationsOps
> {}

@armResourceOperations
@added(Versions.v2025_10_01_preview)
interface BookmarkRelations {
/**
* Gets a bookmark relation.
Expand Down Expand Up @@ -204,6 +207,7 @@ interface BookmarkRelations {
}

@armResourceOperations
@added(Versions.v2025_10_01_preview)
interface EntityRelationOps
extends Azure.ResourceManager.Legacy.ExtensionOperations<
{
Expand Down Expand Up @@ -254,6 +258,7 @@ interface EntityRelationOps
> {}

@armResourceOperations
@added(Versions.v2025_10_01_preview)
interface EntityRelations {
/**
* Gets an entity relation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
// FIXME: Settings has no properties property
Expand Down Expand Up @@ -81,3 +82,6 @@ interface ProductSettings {
"The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba"
);
@@doc(ProductSettings.update::parameters.resource, "The setting");

@@added(Settings, Versions.v2025_10_01_preview);
@@added(ProductSettings, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -66,3 +67,6 @@ interface triggeredAnalyticsRuleRun {
TriggeredAnalyticsRuleRun.properties,
"The triggered analytics rule run Properties"
);

@@added(TriggeredAnalyticsRuleRun, Versions.v2025_10_01_preview);
@@added(triggeredAnalyticsRuleRun, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -110,3 +111,6 @@ interface WorkspaceManagerAssignments {
WorkspaceManagerAssignments.createOrUpdate::parameters.resource,
"The workspace manager assignment"
);

@@added(WorkspaceManagerAssignment, Versions.v2025_10_01_preview);
@@added(WorkspaceManagerAssignments, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -101,3 +102,6 @@ interface WorkspaceManagerConfigurations {
WorkspaceManagerConfigurations.createOrUpdate::parameters.resource,
"The workspace manager configuration"
);

@@added(WorkspaceManagerConfiguration, Versions.v2025_10_01_preview);
@@added(WorkspaceManagerConfigurations, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -92,3 +93,6 @@ interface WorkspaceManagerGroups {
WorkspaceManagerGroups.createOrUpdate::parameters.resource,
"The workspace manager group object"
);

@@added(WorkspaceManagerGroup, Versions.v2025_10_01_preview);
@@added(WorkspaceManagerGroups, Versions.v2025_10_01_preview);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.SecurityInsights;
/**
Expand Down Expand Up @@ -92,3 +93,6 @@ interface WorkspaceManagerMembers {
WorkspaceManagerMembers.createOrUpdate::parameters.resource,
"The workspace manager member object"
);

@@added(WorkspaceManagerMember, Versions.v2025_10_01_preview);
@@added(WorkspaceManagerMembers, Versions.v2025_10_01_preview);
Loading
Loading