ApiCollection interface

An API collection as represented by Microsoft Defender for APIs.

Extends

Properties

baseUrl

The base URI for this API collection. All endpoints of this API collection extend this base URI.

discoveredVia

The resource Id of the resource from where this API collection was discovered.

displayName

The display name of the API collection.

numberOfApiEndpoints

The number of API endpoints discovered in this API collection.

numberOfApiEndpointsWithSensitiveDataExposed

The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.

numberOfExternalApiEndpoints

The number of API endpoints in this API collection for which API traffic from the internet was observed.

numberOfInactiveApiEndpoints

The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.

numberOfUnauthenticatedApiEndpoints

The number of API endpoints in this API collection that are unauthenticated.

provisioningState

Gets the provisioning state of the API collection.

sensitivityLabel

The highest priority sensitivity label from Microsoft Purview in this API collection.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

baseUrl

The base URI for this API collection. All endpoints of this API collection extend this base URI.

baseUrl?: string

Property Value

string

discoveredVia

The resource Id of the resource from where this API collection was discovered.

discoveredVia?: string

Property Value

string

displayName

The display name of the API collection.

displayName?: string

Property Value

string

numberOfApiEndpoints

The number of API endpoints discovered in this API collection.

numberOfApiEndpoints?: number

Property Value

number

numberOfApiEndpointsWithSensitiveDataExposed

The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.

numberOfApiEndpointsWithSensitiveDataExposed?: number

Property Value

number

numberOfExternalApiEndpoints

The number of API endpoints in this API collection for which API traffic from the internet was observed.

numberOfExternalApiEndpoints?: number

Property Value

number

numberOfInactiveApiEndpoints

The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.

numberOfInactiveApiEndpoints?: number

Property Value

number

numberOfUnauthenticatedApiEndpoints

The number of API endpoints in this API collection that are unauthenticated.

numberOfUnauthenticatedApiEndpoints?: number

Property Value

number

provisioningState

Gets the provisioning state of the API collection.

provisioningState?: string

Property Value

string

sensitivityLabel

The highest priority sensitivity label from Microsoft Purview in this API collection.

sensitivityLabel?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ExtensionResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ExtensionResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ExtensionResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ExtensionResource.type