Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions specification/riskiq/Easm/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,10 @@ interface EasmClient {
"csharp"
);
@@clientName(EasmClient.getDiscoTemplate, "GetDiscoveryTemplate", "csharp");
@@clientName(EasmClient.listAssetResource, "GetAssetResources", "csharp");
@@clientName(EasmClient.listDataConnection, "GetDataConnections", "csharp");
@@clientName(EasmClient.listDiscoTemplate, "GetDiscoveryTemplates", "csharp");
@@clientName(EasmClient.listPolicy, "GetPolicies", "csharp");
@@clientName(EasmClient.listSavedFilter, "GetSavedFilters", "csharp");
@@clientName(EasmClient.listTask, "GetTasks", "csharp");
@@clientName(EasmClient.validateDiscoGroup, "ValidateDiscoveryGroup", "csharp");
2 changes: 1 addition & 1 deletion specification/riskiq/Easm/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ using TypeSpec.Versioning;
"",
{
@doc("The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}")
endpoint: string,
endpoint: url,
}
)
@doc("Defender EASM discovers and maps your digital attack surface to provide an \"outside-in\" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"in": "path",
"description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}",
"required": true,
"type": "string"
"type": "string",
"format": "uri",
"x-ms-skip-url-encoding": true
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"in": "path",
"description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}",
"required": true,
"type": "string"
"type": "string",
"format": "uri",
"x-ms-skip-url-encoding": true
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"in": "path",
"description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}",
"required": true,
"type": "string"
"type": "string",
"format": "uri",
"x-ms-skip-url-encoding": true
}
]
},
Expand Down