Azure Storage Container

Create and Manage Azure Storage Container services.

IT Services · Azure Storage Container

Details

IDAzure Storage Container
ProviderMicrosoft
CategoryIT Services
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

Azure Storage Container

Create and Manage Azure Storage Container services.
This integration was integrated and tested with version “2020-10-02” of Azure Storage Container

Configure Azure Storage Container in Cortex

Parameter Required
Storage account name True
Account SAS Token False
Use Azure Managed Identities False
Azure Managed Identities Client ID False
Shared Key False
Use system proxy settings False
Trust any certificate (not secure) False

## Shared Access Signatures Information (SAS)

  • The required SAS token for this integration should be taken at the storage account level and not at container level.

Shared Access Signatures (SAS) Permissions

In order to use the integration use-cases,
please make sure your SAS token contains the following permissions:

  1. ‘Blob’ and ‘File’ service.
  2. ‘Service’, ‘Container’ and ‘Object’ resource types.
  3. ‘Read’, ‘Write’, ‘Delete’, ‘List’, ‘Create’, ‘Add’, ‘Update’ and ‘Immutable storage’ permissions.
  4. ‘Blob versioning permissions’

Shared Key Permissions

To set the AllowSharedKeyAccess property for an Azure Storage account, a user needs to have the permissions to create and manage storage accounts.

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

azure-storage-container-list


List Containers under the specified storage account.

Base Command

azure-storage-container-list

Input

Argument Name Description Required
limit Number of Containers to retrieve. Default is 50. Default is 50. Optional
prefix Filters the results to return only Containers whose names begin with the specified prefix. Optional
page Page number. Default is 1. Default is 1. Optional

Context Output

Path Type Description
AzureStorageContainer.Container.name String Container name.

Command Example

!azure-storage-container-list prefix="xs"

Context Example

{
    "AzureStorageContainer": {
        "Container": {
            "name": "xsoar"
        }
    }
}

Human Readable Output

Containers List

Current page size: 50
Showing page 1 out others that may exist

Name
xsoar

azure-storage-container-create


Create a new Container under the specified account.

Base Command

azure-storage-container-create

Input

Argument Name Description Required
container_name The name of the Container to create. Rules for naming containers can be found here:
https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers–blobs–and-metadata
.
Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-create container_name="xsoar"

Human Readable Output

Container xsoar successfully created.

azure-storage-container-property-get


Retrieve properties for the specified Container.

Base Command

azure-storage-container-property-get

Input

Argument Name Description Required
container_name The name of the Container. Required

Context Output

Path Type Description
AzureStorageContainer.Container.Property.last_modified Date Last modified time of the container.
AzureStorageContainer.Container.Property.etag String The entity tag for the container.
AzureStorageContainer.Container.Property.lease_status String The lease status of the container.
AzureStorageContainer.Container.Property.lease_state String The lease state of the container.
AzureStorageContainer.Container.Property.has_immutability_policy String Indicates whether the container has an immutability policy set on it.
AzureStorageContainer.Container.Property.has_legal_hold String Indicates whether the container has a legal hold.
AzureStorageContainer.Container.name String Container name.

Command Example

!azure-storage-container-property-get container_name="xsoar"

Context Example

{
    "AzureStorageContainer": {
        "Container": {
            "Property": {
                "content_length": "0",
                "date": "2021-11-28T12:43:05",
                "default_encryption_scope": "$account-encryption-key",
                "deny_encryption_scope_override": "false",
                "etag": "\"0x8D9B26C9BBF026C\"",
                "has_immutability_policy": "false",
                "has_legal_hold": "false",
                "immutable_storage_with_versioning_enabled": "false",
                "last_modified": "2021-11-28T12:42:58",
                "lease_state": "available",
                "lease_status": "unlocked",
                "request_id": "00a9c6bf-f01e-007a-5255-e448bd000000",
                "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
                "version": "2020-10-02"
            },
            "name": "xsoar"
        }
    }
}

Human Readable Output

Container xsoar Properties

Last Modified Etag Lease Status Lease State Has Immutability Policy Has Legal Hold
2021-11-28T12:42:58 “0x8D9B26C9BBF026C” unlocked available false false

azure-storage-container-delete


Marks the specified Container for deletion. The Container and any Blobs contained within it, will be deleted during garbage collection.

Base Command

azure-storage-container-delete

Input

Argument Name Description Required
container_name The name of the Container to delete. Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-delete container_name="xsoar"

Human Readable Output

Container xsoar successfully deleted.

azure-storage-container-blob-list


List Blobs under the specified container.

Base Command

azure-storage-container-blob-list

Input

Argument Name Description Required
container_name The name of the Container. Required
limit Number of blobs to retrieve. Default is 50. Default is 50. Optional
prefix Filters the results to return only blobs whose names begin with the specified prefix. Optional
page Page number. Default is 1. Default is 1. Optional

Context Output

Path Type Description
AzureStorageContainer.Container.Blob.name String Blob name.
AzureStorageContainer.Container.name String Container name.

Command Example

!azure-storage-container-blob-list container_name="xsoar"

Context Example

{
    "AzureStorageContainer": {
        "Container": {
            "Blob": [
                {
                    "name": "xsoar.txt"
                }
            ],
            "name": "xsoar"
        }
    }
}

Human Readable Output

xsoar Container Blobs List

Current page size: 50
Showing page 1 out others that may exist

Name
xsoar.txt

azure-storage-container-blob-create


Create a new Blob under the specified Container.

Base Command

azure-storage-container-blob-create

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
file_entry_id The entry ID of the file to upload as a new blob. Available from XSOAR war room while the context data contains file output. Required
blob_name The name of the Blob to create. Default is XSOAR file name. Optional

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-blob-create container_name="xsoar" file_entry_id="16488@b5e40781-86c8-4799-8f10-ace443e93234" blob_name="xsoar.txt"

Human Readable Output

Blob successfully created.

azure-storage-container-blob-update


Update the content of an existing Blob.

Base Command

azure-storage-container-blob-update

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
file_entry_id The entry ID of the file to upload as a new blob. Available from XSOAR war room while the context data contains file output. Required
blob_name The name of the Blob to update. Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-blob-update container_name="xsoar" file_entry_id="16488@b5e40781-86c8-4799-8f10-ace443e93234" blob_name="xsoar.txt"

Human Readable Output

Blob xsoar.txt successfully updated.

azure-storage-container-blob-get


Retrieve Blob from Container.

Base Command

azure-storage-container-blob-get

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the Blob to retrieve. Required

Context Output

Path Type Description
File.Size String The size of the file.
File.SHA1 String The SHA1 hash of the file.
File.SHA256 String The SHA256 hash of the file.
File.Name String The name of the file.
File.SSDeep String The SSDeep hash of the file.
File.EntryID String The entry ID of the file.
File.Info String File information.
File.Type String The file type.
File.MD5 Unknown The MD5 hash of the file.
File.Extension String The file extension.

Command Example

!azure-storage-container-blob-get container_name="xsoar" blob_name="xsoar.txt"

Context Example

{
    "File": {
        "EntryID": "16508@b5e40781-86c8-4799-8f10-ace443e93234",
        "Extension": "txt",
        "Info": "text/plain; charset=utf-8",
        "MD5": "950eb0708854a661313dd150a643af8b",
        "Name": "xsoar.txt",
        "SHA1": "2f82d9a13f948a1ced93f9da85323d45fb2eedf8",
        "SHA256": "150296c0c1a1ca044fc132010b6049342c460f4a68386ab24de9b6a167e54765",
        "SHA512": "6d9deaacce47943767d19c8de846c9e57692543c90b4f45c3abbe4123380bd1665dc4bd9b4d0a99d09d3a0f8c67da842826181834223362f1c75f5f9e6c358ef",
        "SSDeep": "3:h8Kpl:Rpl",
        "Size": 11,
        "Type": "ASCII text, with no line terminators"
    }
}

Human Readable Output

azure-storage-container-blob-tag-get


Retrieve the tags of the specified Blob.

Base Command

azure-storage-container-blob-tag-get

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the blob. Required

Context Output

Path Type Description
AzureStorageContainer.Container.Blob.Tag.Key String Tag key.
AzureStorageContainer.Container.Blob.Tag.Value String Tag value.
AzureStorageContainer.Container.Blob.name String Blob name.
AzureStorageContainer.Container.name String Container name.

Command Example

!azure-storage-container-blob-tag-get container_name="xsoar" blob_name="xsoar.txt"

Context Example

{
    "AzureStorageContainer": {
        "Container": {
            "Blob": {
                "Tag": [
                    {
                        "Key": "tag-name-1",
                        "Value": "tag-value-1"
                    }
                ],
                "name": "xsoar.txt"
            },
            "name": "xsoar"
        }
    }
}

Human Readable Output

Blob xsoar.txt Tags

Key Value
tag-name-1 tag-value-1

azure-storage-container-blob-tag-set


Sets the tags for the specified Blob. The command replace the entire tags of the Blob and can be used to remove tags.

Base Command

azure-storage-container-blob-tag-set

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the blob. Required
tags Tags fields in JSON format: {“tag-name-1”: “tag-value-1”, “tag-name-2”: “tag-value-2”}. The tags fields may contain at most 10 tags. Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-blob-tag-set container_name="xsoar" blob_name="xsoar.txt" tags=`{ "tag-name-1": "tag-value-1" }`

Human Readable Output

xsoar.txt Tags successfully updated.

azure-storage-container-blob-delete


Marks the specified Blob for deletion. The Blob will be deleted during garbage collection.

Base Command

azure-storage-container-blob-delete

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the Blob to delete. Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-blob-delete container_name="xsoar" blob_name="xsoar.txt"

Human Readable Output

Blob xsoar.txt successfully deleted.

azure-storage-container-blob-property-get


Retrieve Blob properties.

Base Command

azure-storage-container-blob-property-get

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the blob. Required

Context Output

Path Type Description
AzureStorageContainer.Container.Blob.Property.last_modified Date Last modified time of the blob.
AzureStorageContainer.Container.Blob.Property.etag String The entity tag for the blob.
AzureStorageContainer.Container.Blob.Property.lease_status String The lease status of the blob.
AzureStorageContainer.Container.Blob.Property.lease_state String The lease state of the blob.
AzureStorageContainer.Container.Blob.Property.blob_type String The blob type.
AzureStorageContainer.Container.Blob.Property.content_length Number The size of the blob in bytes.
AzureStorageContainer.Container.Blob.Property.content_type String The content type specified for the blob. If no content type was specified, the default content type is application/octet-stream.
AzureStorageContainer.Container.Blob.Property.content-md5 String The MD5 hash of the blob content.
AzureStorageContainer.Container.Blob.Property.creation_time Date The date at which the blob was created.
AzureStorageContainer.Container.Blob.name String Blob name.

Command Example

!azure-storage-container-blob-property-get container_name="xsoar" blob_name="xsoar.txt"

Context Example

{
    "AzureStorageContainer": {
        "Container": {
            "Blob": {
                "Property": {
                    "accept_ranges": "bytes",
                    "access_tier": "Hot",
                    "access_tier_inferred": "true",
                    "blob_type": "BlockBlob",
                    "content_length": "11",
                    "content_md5": "lQ6wcIhUpmExPdFQpkOviw==",
                    "content_type": "application/octet-stream",
                    "creation_time": "2021-11-28T12:43:09",
                    "date": "2021-11-28T12:43:24",
                    "etag": "\"0x8D9B26CA6AD74B3\"",
                    "last_modified": "2021-11-28T12:43:17",
                    "lease_state": "available",
                    "lease_status": "unlocked",
                    "request_id": "8f64c941-501e-0097-4255-e403f0000000",
                    "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
                    "server_encrypted": "true",
                    "version": "2020-10-02"
                },
                "name": "xsoar.txt"
            },
            "name": "xsoar"
        }
    }
}

Human Readable Output

Blob xsoar.txt Properties

Creation Time Last Modified Content Length Content Type Etag
2021-11-28T12:43:09 2021-11-28T12:43:17 11 application/octet-stream “0x8D9B26CA6AD74B3”

azure-storage-container-blob-property-set


Set Blob properties.

Base Command

azure-storage-container-blob-property-set

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
blob_name The name of the blob. Required
content_type Blob content type. Indicates the media type of the blob. Optional
content_md5 Blob MD5 hash value. Can be used by the client to check for content integrity. Optional
content_encoding Blob content encoding. Used to specify the compression algorithm of the blob content. Optional
content_language Blob content language. Describes the human languages of the blob content. Optional
content_disposition Blob content disposition. Conveys additional information about how to process the response payload, and also can be used to attach additional metadata. Optional
cache_control Modifies the cache control string for the blob. Indicates directives for caching in both requests and responses. Optional
request_id Request ID generated by the client and recorded in the analytics logs when storage analytics logging is enabled. Optional
lease_id Required if the blob has an active lease. Optional

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-blob-property-set container_name="xsoar" blob_name="xsoar.txt" content_type="text/plain"

Human Readable Output

Blob xsoar.txt properties successfully updated.

azure-storage-container-sas-create


Retrieve Blob properties.

Base Command

azure-storage-container-sas-create

Input

Argument Name Description Required
container_name The name of the Blob Container. Required
expiry_time Expiry time for sas token(hours). Required
signed_resources specifies which resources are accessible via the shared access signature. Options available c(container), b(blob), bv(blob version),bs(blob snapshot),d(directory) Required
signed_permissions The permissions that are associated with the shared access signature. The user is restricted to operations that are allowed by the permissions. Possible permission: r = Read, a=access, c=create, w=write. Also must follow the this order “racwdxltmeop”Example: r,c,a,w,rac, racw. Required
signed_ip specifies a public IP address or a range of public IP addresses from which to accept requests. Required
account_key The account key to create the SAS token with.  

Command Example

!azure-storage-container-sas-create account_key="TestAccountKey" expiry_time="1" signed_resources="test signed_permissions="test signed_ip="127.0.0.1"

azure-storage-container-block-public-access


Block public access to a container..

Base Command

azure-storage-container-block-public-access

Input

Argument Name Description Required
container_name The name of the Blob Container. Required

Context Output

There is no context output for this command.

Command Example

!azure-storage-container-block-public-access container_name="xsoar"

Human Readable Output

xsoar.txt Public access to container ‘{container_name}’ has been successfully blocked.

Configuration parameters

  • credentials — Storage account name
  • use_managed_identities — Use Azure Managed Identities
  • managed_identities_client_id
  • proxy — Use system proxy settings
  • insecure — Trust any certificate (not secure)
  • key — Account key
  • shared_key

Commands (15)

  • azure-storage-container-blob-create

    Create a new Blob under the specified Container.

  • azure-storage-container-blob-delete

    Marks the specified Blob for deletion. The Blob will be deleted during garbage collection.

  • azure-storage-container-blob-get

    Retrieve Blob from Container.

  • azure-storage-container-blob-list

    List Blobs under the specified container.

  • azure-storage-container-blob-property-get

    Retrieve Blob properties.

  • azure-storage-container-blob-property-set

    Set Blob properties.

  • azure-storage-container-blob-tag-get

    Retrieve the tags of the specified Blob.

  • azure-storage-container-blob-tag-set

    Sets the tags for the specified Blob. The command replace the entire tags of the Blob and can be used to remove tags.

  • azure-storage-container-blob-update

    Update the content of an existing Blob.

  • azure-storage-container-block-public-access

    Block public access to a container.

  • azure-storage-container-create

    Create a new Container under the specified account.

  • azure-storage-container-delete

    Marks the specified Container for deletion. The Container and any Blobs contained within it, will be deleted during garbage collection.

  • azure-storage-container-list

    List Containers under the specified storage account.

  • azure-storage-container-property-get

    Retrieve properties for the specified Container.

  • azure-storage-container-sas-create

    create SAS token for container.

category: IT Services
provider: Microsoft
commonfields:
  id: Azure Storage Container
  version: -1
sectionorder:
- Connect
- Collect
configuration:
- display: Storage account name
  displaypassword: Account SAS Token
  name: credentials
  type: 9
  required: false
  section: Connect
- additionalinfo: Relevant only if the integration is running on Azure VM. If selected, authenticates based on the value provided for the Azure Managed Identities Client ID field. If no value is provided for the Azure Managed Identities Client ID field, authenticates based on the System Assigned Managed Identity. For additional information, see the Help tab.
  display: Use Azure Managed Identities
  name: use_managed_identities
  type: 8
  required: false
  section: Connect
- additionalinfo: The Managed Identities client ID for authentication - relevant only if the integration is running on Azure VM.
  displaypassword: Azure Managed Identities Client ID
  name: managed_identities_client_id
  hiddenusername: true
  type: 9
  required: false
  section: Connect
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
  section: Connect
  advanced: true
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
  section: Connect
  advanced: true
- display: Account key
  name: key
  type: 0
  required: false
  hidden: true
- additionalinfo: Relevant only if user wants to block public access of a container.
  display: ""
  displaypassword: Shared Key
  name: shared_key
  type: 9
  section: Connect
  required: false
  hiddenusername: true
description: Create and Manage Azure Storage Container services.
display: Azure Storage Container
name: Azure Storage Container
script:
  commands:
  - arguments:
    - defaultValue: '50'
      description: Number of Containers to retrieve. Default is 50.
      name: limit
    - description: Filters the results to return only Containers whose names begin with the specified prefix.
      name: prefix
    - defaultValue: '1'
      description: Page number. Default is 1.
      name: page
    description: List Containers under the specified storage account.
    name: azure-storage-container-list
    outputs:
    - contextPath: AzureStorageContainer.Container.name
      description: Container name.
      type: String
  - arguments:
    - description: |
        The name of the Container to create. Rules for naming containers can be found here:
        https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata
      name: container_name
      required: true
    description: Create a new Container under the specified account.
    name: azure-storage-container-create
  - arguments:
    - description: The name of the Container.
      name: container_name
      required: true
    description: Retrieve properties for the specified Container.
    name: azure-storage-container-property-get
    outputs:
    - contextPath: AzureStorageContainer.Container.Property.last_modified
      description: Last modified time of the container.
      type: Date
    - contextPath: AzureStorageContainer.Container.Property.etag
      description: The entity tag for the container.
      type: String
    - contextPath: AzureStorageContainer.Container.Property.lease_status
      description: The lease status of the container.
      type: String
    - contextPath: AzureStorageContainer.Container.Property.lease_state
      description: The lease state of the container.
      type: String
    - contextPath: AzureStorageContainer.Container.Property.has_immutability_policy
      description: Indicates whether the container has an immutability policy set on it.
      type: String
    - contextPath: AzureStorageContainer.Container.Property.has_legal_hold
      description: Indicates whether the container has a legal hold.
      type: String
    - contextPath: AzureStorageContainer.Container.name
      description: Container name.
      type: String
  - arguments:
    - description: The name of the Container to delete.
      name: container_name
      required: true
    description: Marks the specified Container for deletion. The Container and any Blobs contained within it, will be deleted during garbage collection.
    execution: true
    name: azure-storage-container-delete
  - arguments:
    - description: The name of the Container.
      name: container_name
      required: true
    - defaultValue: '50'
      description: Number of blobs to retrieve. Default is 50.
      name: limit
    - description: Filters the results to return only blobs whose names begin with the specified prefix.
      name: prefix
    - defaultValue: '1'
      description: Page number. Default is 1.
      name: page
    description: List Blobs under the specified container.
    name: azure-storage-container-blob-list
    outputs:
    - contextPath: AzureStorageContainer.Container.Blob.name
      description: Blob name.
      type: String
    - contextPath: AzureStorageContainer.Container.name
      description: Container name.
      type: String
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The entry ID of the file to upload as a new blob. Available from XSOAR war room while the context data contains file output.
      name: file_entry_id
      required: true
    - description: The name of the Blob to create. Default is XSOAR file name.
      name: blob_name
    description: Create a new Blob under the specified Container.
    name: azure-storage-container-blob-create
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The entry ID of the file to upload as a new blob. Available from XSOAR war room while the context data contains file output.
      name: file_entry_id
      required: true
    - description: The name of the Blob to update.
      name: blob_name
      required: true
    description: Update the content of an existing Blob.
    name: azure-storage-container-blob-update
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the Blob to retrieve.
      name: blob_name
      required: true
    description: Retrieve Blob from Container.
    name: azure-storage-container-blob-get
    outputs:
    - contextPath: File.Size
      description: The size of the file.
      type: String
    - contextPath: File.SHA1
      description: The SHA1 hash of the file.
      type: String
    - contextPath: File.SHA256
      description: The SHA256 hash of the file.
      type: String
    - contextPath: File.Name
      description: The name of the file.
      type: String
    - contextPath: File.SSDeep
      description: The SSDeep hash of the file.
      type: String
    - contextPath: File.EntryID
      description: The entry ID of the file.
      type: String
    - contextPath: File.Info
      description: File information.
      type: String
    - contextPath: File.Type
      description: The file type.
      type: String
    - contextPath: File.MD5
      description: The MD5 hash of the file.
      type: Unknown
    - contextPath: File.Extension
      description: The file extension.
      type: String
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the blob.
      name: blob_name
      required: true
    description: Retrieve the tags of the specified Blob.
    name: azure-storage-container-blob-tag-get
    outputs:
    - contextPath: AzureStorageContainer.Container.Blob.Tag.Key
      description: Tag key.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Tag.Value
      description: Tag value.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.name
      description: Blob name.
      type: String
    - contextPath: AzureStorageContainer.Container.name
      description: Container name.
      type: String
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the blob.
      name: blob_name
      required: true
    - description: 'Tags fields in JSON format: {"tag-name-1": "tag-value-1", "tag-name-2": "tag-value-2"}. The tags fields may contain at most 10 tags.'
      name: tags
      required: true
    description: Sets the tags for the specified Blob. The command replace the entire tags of the Blob and can be used to remove tags.
    name: azure-storage-container-blob-tag-set
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the Blob to delete.
      name: blob_name
      required: true
    description: Marks the specified Blob for deletion. The Blob will be deleted during garbage collection.
    execution: true
    name: azure-storage-container-blob-delete
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the blob.
      name: blob_name
      required: true
    description: Retrieve Blob properties.
    name: azure-storage-container-blob-property-get
    outputs:
    - contextPath: AzureStorageContainer.Container.Blob.Property.last_modified
      description: Last modified time of the blob.
      type: Date
    - contextPath: AzureStorageContainer.Container.Blob.Property.etag
      description: The entity tag for the blob.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.lease_status
      description: The lease status of the blob.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.lease_state
      description: The lease state of the blob.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.blob_type
      description: The blob type.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.content_length
      description: The size of the blob in bytes.
      type: Number
    - contextPath: AzureStorageContainer.Container.Blob.Property.content_type
      description: The content type specified for the blob. If no content type was specified, the default content type is application/octet-stream.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.content-md5
      description: The MD5 hash of the blob content.
      type: String
    - contextPath: AzureStorageContainer.Container.Blob.Property.creation_time
      description: The date at which the blob was created.
      type: Date
    - contextPath: AzureStorageContainer.Container.Blob.name
      description: Blob name.
      type: String
  - arguments:
    - description: The name of the Blob Container.
      name: container_name
      required: true
    - description: The name of the blob.
      name: blob_name
      required: true
    - description: Blob content type. Indicates the media type of the blob.
      name: content_type
    - description: Blob MD5 hash value. Can be used by the client to check for content integrity.
      name: content_md5
    - description: Blob content encoding. Used to specify the compression algorithm of the blob content.
      name: content_encoding
    - description: Blob content language. Describes the human languages of the blob content.
      name: content_language
    - description: Blob content disposition. Conveys additional information about how to process the response payload, and also can be used to attach additional metadata.
      name: content_disposition
    - description: Modifies the cache control string for the blob. Indicates directives for caching in both requests and responses.
      name: cache_control
    - description: Request ID generated by the client and recorded in the analytics logs when storage analytics logging is enabled.
      name: request_id
    - description: Required if the blob has an active lease.
      name: lease_id
    description: Set Blob properties.
    name: azure-storage-container-blob-property-set
  - arguments:
    - description: Name of a container.
      name: container_name
      required: true
    description: Block public access to a container.
    name: azure-storage-container-block-public-access
  - arguments:
    - description: Name of a container.
      name: container_name
      required: true
    - defaultValue: '1'
      description: Expiry time for sas token(hours).
      name: expiry_time
      required: true
    - auto: PREDEFINED
      defaultValue: c
      description: specifies which resources are accessible via the shared access signature. Options available c(container), b(blob), bv(blob version),bs(blob snapshot),d(directory).
      name: signed_resources
      predefined:
      - c
      - b
      - bv
      - bs
      - d
      required: true
    - defaultValue: r
      description: 'The permissions that are associated with the shared access signature. The user is restricted to operations that are allowed by the permissions. Possible permission: r = Read, a=access, c=create, w=write. Also must follow the  this order "racwdxltmeop"Example: r,c,a,w,rac, racw.'
      name: signed_permissions
      required: true
    - description: specifies a public IP address or a range of public IP addresses from which to accept requests.
      name: signed_ip
      type: unknown
    - description: The account key to create the SAS token with.
      name: account_key
    description: create SAS token for container.
    name: azure-storage-container-sas-create
  dockerimage: demisto/python3:3.12.13.10116658
  runonce: false
  script: ''
  subtype: python3
  type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)