Skip to main content

crypto_certificates

Creates, updates, deletes, gets or lists a crypto_certificates resource.

Overview

Namecrypto_certificates
TypeResource
Idazure_extras.iot_firmware_defense.crypto_certificates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
certificateKeyAlgorithmstringKey algorithm used in the certificate.
certificateKeySizeintegerSize of the certificate's key in bits.
certificateNamestringName of the certificate.
certificateRolestringRole of the certificate (Root CA, etc).
certificateUsagearrayList of functions the certificate can fulfill.
cryptoCertIdstringID for the certificate result.
encodingstringEncoding used for the certificate.
expirationDatestring (date-time)Expiration date for the certificate.
filePathsarrayList of files where this certificate was found.
fingerprintstringFingerprint of the certificate.
isExpiredbooleanIndicates if the certificate is expired.
isSelfSignedbooleanIndicates if the certificate is self-signed.
isShortKeySizebooleanIndicates the certificate's key size is considered too small to be secure for the key algorithm according to NIST guidance.
isWeakSignaturebooleanIndicates the signature algorithm used is insecure according to NIST guidance.
issuedDatestring (date-time)Issue date for the certificate.
issuerobjectIssuer information of the certificate.
pairedKeyobjectA matching paired private key.
provisioningStatestringThe status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Extracting", and "Analyzing". (Succeeded, Failed, Canceled, Pending, Extracting, Analyzing)
serialNumberstringSerial number of the certificate.
signatureAlgorithmstringThe signature algorithm used in the certificate.
subjectobjectSubject information of the certificate.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_firmwareselectresource_group_name, workspace_name, firmware_id, subscription_idLists crypto certificate analysis results of a firmware.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
firmware_idstringThe id of the firmware. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the firmware analysis workspace. Required.

SELECT examples

Lists crypto certificate analysis results of a firmware.

SELECT
id,
name,
certificateKeyAlgorithm,
certificateKeySize,
certificateName,
certificateRole,
certificateUsage,
cryptoCertId,
encoding,
expirationDate,
filePaths,
fingerprint,
isExpired,
isSelfSigned,
isShortKeySize,
isWeakSignature,
issuedDate,
issuer,
pairedKey,
provisioningState,
serialNumber,
signatureAlgorithm,
subject,
systemData,
type
FROM azure_extras.iot_firmware_defense.crypto_certificates
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND firmware_id = '{{ firmware_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;