Skip to content

Commit

Permalink
1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed May 30, 2022
1 parent 8c5d194 commit 24449fd
Show file tree
Hide file tree
Showing 25 changed files with 95 additions and 47 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Cloudmersive Virus Scan API lets you scan files and content for viruses and
[Cloudmersive Virus Scan API](https://www.cloudmersive.com/virus-api) provides advanced virus scanning capabilities.

- API version: v1
- Package version: 1.2.5
- Package version: 1.2.6


## Installation
Expand Down
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Cloudmersive Virus Scan API lets you scan files and content for viruses and
[Cloudmersive Virus Scan API](https://www.cloudmersive.com/virus-api) provides advanced virus scanning capabilities.

- API version: v1
- Package version: 1.2.5
- Package version: 1.2.6


## Installation
Expand Down
1 change: 1 addition & 0 deletions client/docs/AdditionalAdvancedScanInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**containsJSON** | **Boolean** | True if the input file contains JSON data, false otherwise; this is not a threat signal | [optional]
**containsXML** | **Boolean** | True if the input file contains XML data, false otherwise; this is not a threat signal | [optional]
**containsImage** | **Boolean** | True if the input file contains an image | [optional]


1 change: 1 addition & 0 deletions client/docs/CloudStorageAdvancedVirusScanResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ Name | Type | Description | Notes
**foundViruses** | [**[CloudStorageVirusFound]**](CloudStorageVirusFound.md) | Array of viruses found, if any | [optional]
**errorDetailedDescription** | **String** | Detailed error message if the operation was not successful | [optional]
**fileSize** | **Number** | Size in bytes of the file that was retrieved and scanned | [optional]
**contentInformation** | [**AdditionalAdvancedScanInformation**](AdditionalAdvancedScanInformation.md) | Contains additional non-threat content verification information | [optional]


1 change: 1 addition & 0 deletions client/docs/CloudStorageVirusScanResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ Name | Type | Description | Notes
**foundViruses** | [**[CloudStorageVirusFound]**](CloudStorageVirusFound.md) | Array of viruses found, if any | [optional]
**errorDetailedDescription** | **String** | Detailed error message if the operation was not successful | [optional]
**fileSize** | **Number** | Size in bytes of the file that was retrieved and scanned | [optional]
**containsContentModerationRejection** | **Boolean** | Set to true when using NSFW Content Moderation in the Cloudmersive Storage Protect product (disabled by default) | [optional]


2 changes: 1 addition & 1 deletion client/docs/ScanApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Name | Type | Description | Notes
Advanced Scan a file for viruses

Advanced Scan files with 360-degree Content Protection across Viruses and Malware, executables, invalid files, scripts, and even restrictions on accepted file types with complete content verification. Customize threat rules to your needs. Leverage continuously updated signatures for millions of threats, and advanced high-performance scanning capabilities. Over 17 million virus and malware signatures. Continuous cloud-based updates. Block threats beyond viruses including executables, scripts, invalid files, and more. Optionally limit input files to a specific set of file types (e.g. PDF and Word Documents only). Wide file format support including Office, PDF, HTML, Flash. Zip support including .Zip, .Rar, .DMG, .Tar, and other archive formats. Multi-threat scanning across viruses, malware, trojans, ransomware, and spyware. High-speed in-memory scanning delivers subsecond typical response time.
Advanced Scan files with 360-degree Content Protection across Viruses and Malware, executables, invalid files, scripts, and even restrictions on accepted file types with complete content verification. Customize threat rules to your needs. Leverage continuously updated signatures for millions of threats, and advanced high-performance scanning capabilities. Over 17 million virus and malware signatures. Continuous cloud-based updates. Block threats beyond viruses including executables, scripts, invalid files, and more. Optionally limit input files to a specific set of file types (e.g. PDF and Word Documents only). Wide file format support including Office, PDF, HTML, Flash, MSG, and a wide range of image file formats. Zip support including .Zip, .Rar, .DMG, .Tar, and other archive formats. Multi-threat scanning across viruses, malware, trojans, ransomware, and spyware. High-speed in-memory scanning delivers subsecond typical response time.

### Example
```javascript
Expand Down
32 changes: 16 additions & 16 deletions client/docs/ScanCloudStorageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var bucketRegion = "bucketRegion_example"; // String | Name of the region of the

var bucketName = "bucketName_example"; // String | Name of the S3 bucket

var keyName = "keyName_example"; // String | Key name (also called file name) of the file in S3 that you wish to scan for viruses
var keyName = "keyName_example"; // String | Key name (also called file name) of the file in S3 that you wish to scan for viruses. If the key name contains Unicode characters, you must base64 encode the key name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.


var callback = function(error, data, response) {
Expand All @@ -64,7 +64,7 @@ Name | Type | Description | Notes
**secretKey** | **String**| AWS S3 secret key for the S3 bucket; you can get this from My Security Credentials in the AWS console |
**bucketRegion** | **String**| Name of the region of the S3 bucket, such as 'US-East-1' |
**bucketName** | **String**| Name of the S3 bucket |
**keyName** | **String**| Key name (also called file name) of the file in S3 that you wish to scan for viruses |
**keyName** | **String**| Key name (also called file name) of the file in S3 that you wish to scan for viruses. If the key name contains Unicode characters, you must base64 encode the key name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |

### Return type

Expand Down Expand Up @@ -108,7 +108,7 @@ var bucketRegion = "bucketRegion_example"; // String | Name of the region of the

var bucketName = "bucketName_example"; // String | Name of the S3 bucket

var keyName = "keyName_example"; // String | Key name (also called file name) of the file in S3 that you wish to scan for viruses
var keyName = "keyName_example"; // String | Key name (also called file name) of the file in S3 that you wish to scan for viruses. If the key name contains Unicode characters, you must base64 encode the key name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.

var opts = {
'allowExecutables': true, // Boolean | Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended).
Expand Down Expand Up @@ -138,7 +138,7 @@ Name | Type | Description | Notes
**secretKey** | **String**| AWS S3 secret key for the S3 bucket; you can get this from My Security Credentials in the AWS console |
**bucketRegion** | **String**| Name of the region of the S3 bucket, such as 'US-East-1' |
**bucketName** | **String**| Name of the S3 bucket |
**keyName** | **String**| Key name (also called file name) of the file in S3 that you wish to scan for viruses |
**keyName** | **String**| Key name (also called file name) of the file in S3 that you wish to scan for viruses. If the key name contains Unicode characters, you must base64 encode the key name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |
**allowExecutables** | **Boolean**| Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended). | [optional]
**allowInvalidFiles** | **Boolean**| Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended). | [optional]
**allowScripts** | **Boolean**| Set to false to block script files, such as a PHP files, Python scripts, and other malicious content or security threats that can be embedded in the file. Set to true to allow these file types. Default is false (recommended). | [optional]
Expand Down Expand Up @@ -185,7 +185,7 @@ var connectionString = "connectionString_example"; // String | Connection string

var containerName = "containerName_example"; // String | Name of the Blob container within the Azure Blob Storage account

var blobPath = "blobPath_example"; // String | Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'
var blobPath = "blobPath_example"; // String | Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the blob path contains Unicode characters, you must base64 encode the blob path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.


var callback = function(error, data, response) {
Expand All @@ -204,7 +204,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**connectionString** | **String**| Connection string for the Azure Blob Storage Account; you can get this connection string from the Access Keys tab of the Storage Account blade in the Azure Portal. |
**containerName** | **String**| Name of the Blob container within the Azure Blob Storage account |
**blobPath** | **String**| Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf' |
**blobPath** | **String**| Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the blob path contains Unicode characters, you must base64 encode the blob path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |

### Return type

Expand Down Expand Up @@ -244,7 +244,7 @@ var connectionString = "connectionString_example"; // String | Connection string

var containerName = "containerName_example"; // String | Name of the Blob container within the Azure Blob Storage account

var blobPath = "blobPath_example"; // String | Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'
var blobPath = "blobPath_example"; // String | Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the blob path contains Unicode characters, you must base64 encode the blob path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.

var opts = {
'allowExecutables': true, // Boolean | Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended).
Expand Down Expand Up @@ -272,7 +272,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**connectionString** | **String**| Connection string for the Azure Blob Storage Account; you can get this connection string from the Access Keys tab of the Storage Account blade in the Azure Portal. |
**containerName** | **String**| Name of the Blob container within the Azure Blob Storage account |
**blobPath** | **String**| Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf' |
**blobPath** | **String**| Path to the blob within the container, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the blob path contains Unicode characters, you must base64 encode the blob path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |
**allowExecutables** | **Boolean**| Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended). | [optional]
**allowInvalidFiles** | **Boolean**| Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended). | [optional]
**allowScripts** | **Boolean**| Set to false to block script files, such as a PHP files, Python scripts, and other malicious content or security threats that can be embedded in the file. Set to true to allow these file types. Default is false (recommended). | [optional]
Expand Down Expand Up @@ -317,7 +317,7 @@ var apiInstance = new CloudmersiveVirusApiClient.ScanCloudStorageApi();

var bucketName = "bucketName_example"; // String | Name of the bucket in Google Cloud Storage

var objectName = "objectName_example"; // String | Name of the object or file in Google Cloud Storage
var objectName = "objectName_example"; // String | Name of the object or file in Google Cloud Storage. If the object name contains Unicode characters, you must base64 encode the object name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.

var jsonCredentialFile = "/path/to/file.txt"; // File | Service Account credential for Google Cloud stored in a JSON file.

Expand All @@ -337,7 +337,7 @@ apiInstance.scanCloudStorageScanGcpStorageFile(bucketName, objectName, jsonCrede
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**bucketName** | **String**| Name of the bucket in Google Cloud Storage |
**objectName** | **String**| Name of the object or file in Google Cloud Storage |
**objectName** | **String**| Name of the object or file in Google Cloud Storage. If the object name contains Unicode characters, you must base64 encode the object name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |
**jsonCredentialFile** | **File**| Service Account credential for Google Cloud stored in a JSON file. |

### Return type
Expand Down Expand Up @@ -376,7 +376,7 @@ var apiInstance = new CloudmersiveVirusApiClient.ScanCloudStorageApi();

var bucketName = "bucketName_example"; // String | Name of the bucket in Google Cloud Storage

var objectName = "objectName_example"; // String | Name of the object or file in Google Cloud Storage
var objectName = "objectName_example"; // String | Name of the object or file in Google Cloud Storage. If the object name contains Unicode characters, you must base64 encode the object name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.

var jsonCredentialFile = "/path/to/file.txt"; // File | Service Account credential for Google Cloud stored in a JSON file.

Expand Down Expand Up @@ -405,7 +405,7 @@ apiInstance.scanCloudStorageScanGcpStorageFileAdvanced(bucketName, objectName, j
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**bucketName** | **String**| Name of the bucket in Google Cloud Storage |
**objectName** | **String**| Name of the object or file in Google Cloud Storage |
**objectName** | **String**| Name of the object or file in Google Cloud Storage. If the object name contains Unicode characters, you must base64 encode the object name and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |
**jsonCredentialFile** | **File**| Service Account credential for Google Cloud stored in a JSON file. |
**allowExecutables** | **Boolean**| Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended). | [optional]
**allowInvalidFiles** | **Boolean**| Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended). | [optional]
Expand Down Expand Up @@ -457,7 +457,7 @@ var sharepointDomainName = "sharepointDomainName_example"; // String | SharePoin

var siteID = "siteID_example"; // String | Site ID (GUID) of the SharePoint site you wish to retrieve the file from

var filePath = "filePath_example"; // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'
var filePath = "filePath_example"; // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the file path contains Unicode characters, you must base64 encode the file path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.

var opts = {
'tenantID': "tenantID_example", // String | Optional; Tenant ID of your Azure Active Directory
Expand All @@ -482,7 +482,7 @@ Name | Type | Description | Notes
**clientSecret** | **String**| Client Secret access credentials; see description above for instructions on how to get the Client Secret from the Azure Active Directory portal |
**sharepointDomainName** | **String**| SharePoint Online domain name, such as mydomain.sharepoint.com |
**siteID** | **String**| Site ID (GUID) of the SharePoint site you wish to retrieve the file from |
**filePath** | **String**| Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf' |
**filePath** | **String**| Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the file path contains Unicode characters, you must base64 encode the file path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. |
**tenantID** | **String**| Optional; Tenant ID of your Azure Active Directory | [optional]
**itemID** | **String**| SharePoint itemID, such as a DriveItem Id | [optional]

Expand Down Expand Up @@ -530,7 +530,7 @@ var siteID = "siteID_example"; // String | Site ID (GUID) of the SharePoint site

var opts = {
'tenantID': "tenantID_example", // String | Optional; Tenant ID of your Azure Active Directory
'filePath': "filePath_example", // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'
'filePath': "filePath_example", // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the file path contains Unicode characters, you must base64 encode the file path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'.
'itemID': "itemID_example", // String | SharePoint itemID, such as a DriveItem Id
'allowExecutables': true, // Boolean | Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended).
'allowInvalidFiles': true, // Boolean | Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended).
Expand Down Expand Up @@ -560,7 +560,7 @@ Name | Type | Description | Notes
**sharepointDomainName** | **String**| SharePoint Online domain name, such as mydomain.sharepoint.com |
**siteID** | **String**| Site ID (GUID) of the SharePoint site you wish to retrieve the file from |
**tenantID** | **String**| Optional; Tenant ID of your Azure Active Directory | [optional]
**filePath** | **String**| Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf' | [optional]
**filePath** | **String**| Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'. If the file path contains Unicode characters, you must base64 encode the file path and prepend it with 'base64:', such as: 'base64:6ZWV6ZWV6ZWV6ZWV6ZWV6ZWV'. | [optional]
**itemID** | **String**| SharePoint itemID, such as a DriveItem Id | [optional]
**allowExecutables** | **Boolean**| Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended). | [optional]
**allowInvalidFiles** | **Boolean**| Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended). | [optional]
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmersive-virus-api-client",
"version": "1.2.5",
"version": "1.2.6",
"description": "The_Cloudmersive_Virus_Scan_API_lets_you_scan_files_and_content_for_viruses_and_identify_security_issues_with_content_",
"license": "Apache-2.0",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion client/src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/**
* @module ApiClient
* @version 1.2.5
* @version 1.2.6
*/

/**
Expand Down
Loading

0 comments on commit 24449fd

Please sign in to comment.