Applications - List

Get a list of all relevant applications over a subscription level scope

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications?api-version=2022-07-01-preview

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

Azure subscription ID

Regex pattern: ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$

api-version
query True

string

API version for the operation

Responses

Name Type Description
200 OK

ApplicationsList

OK

Other Status Codes

CloudError

Error response describing why the operation failed

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List applications security by subscription level scope

Sample request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications?api-version=2022-07-01-preview

Sample response

{
  "value": [
    {
      "id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
      "name": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
      "type": "Microsoft.Security/applications",
      "properties": {
        "displayName": "Admin's application",
        "description": "An application on critical recommendations",
        "sourceResourceType": "Assessments",
        "conditionSets": [
          {
            "conditions": [
              {
                "property": "$.Id",
                "value": "-bil-",
                "operator": "contains"
              }
            ]
          }
        ]
      }
    },
    {
      "id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
      "name": "4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
      "type": "Microsoft.Security/applications",
      "properties": {
        "displayName": "Admin's application",
        "description": "An application on critical recommendations",
        "sourceResourceType": "Assessments",
        "conditionSets": [
          {
            "conditions": [
              {
                "property": "$.Id",
                "value": "-prod-",
                "operator": "contains"
              }
            ]
          }
        ]
      }
    }
  ]
}

Definitions

Name Description
Application

Security Application over a given scope

ApplicationCondition

Application's condition

ApplicationConditionOperator

The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples

ApplicationsList

Page of a security applications list

ApplicationSourceResourceType

The application source, what it affects, e.g. Assessments

CloudError

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

CloudErrorBody

The error detail.

ErrorAdditionalInfo

The resource management error additional info.

Application

Security Application over a given scope

Name Type Description
id

string

Resource Id

name

string

Resource name

properties.conditionSets

ApplicationCondition[]

The application conditionSets - see examples

properties.description

string

description of the application

properties.displayName

string

display name of the application

properties.sourceResourceType

ApplicationSourceResourceType

The application source, what it affects, e.g. Assessments

type

string

Resource type

ApplicationCondition

Application's condition

Name Type Description
operator

ApplicationConditionOperator

The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples

property

string

The application Condition's Property, e.g. ID, see examples

value

string

The application Condition's Value like IDs that contain some string, see examples

ApplicationConditionOperator

The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples

Name Type Description
Contains

string

Checks that the string value of the data defined in Property contains the given value

Equals

string

Checks that the string value of the data defined in Property equals the given value

In

string

Checks that the string value of the data defined in Property equals any of the given values (exact fit)

ApplicationsList

Page of a security applications list

Name Type Description
nextLink

string

The URI to fetch the next page

value

Application[]

Collection of applications in this page

ApplicationSourceResourceType

The application source, what it affects, e.g. Assessments

Name Type Description
Assessments

string

The source of the application is assessments

CloudError

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Name Type Description
error.additionalInfo

ErrorAdditionalInfo[]

The error additional info.

error.code

string

The error code.

error.details

CloudErrorBody[]

The error details.

error.message

string

The error message.

error.target

string

The error target.

CloudErrorBody

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

CloudErrorBody[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.