cloudflash-kaspersky

cloudflash kaspersky module implements Kaspersky Antivirus configuration on Cloudflash based on unix systems

npm install cloudflash-kaspersky
200 downloads in the last day
487 downloads in the last week
700 downloads in the last month

cloudflash-kaspersky

List of kaspersky antivirus APIs

VerbURIDescription
POST/kasperskyTo create KAV configuration
GET/kasperskyList summary of KAV configuration
GET/kaspersky/:idList summary of KAV configuration by ID
PUT/kaspersky/:idUpdate existing KAV configuration in VCG/CPEs by ID

Configure kav status

Verb    URI                     Description
POST    /kaspersky              To create KAV configuration.

Example Request and Response

Request JSON

{
   "enable": false,
   "web":
   {
       "upload": false,
       "download": true
   },
   "email":
   {
       "pop3": false,
       "smtp": false
   }

}

Request JSON

{
   "enable": false,
   "web":
   {
       "upload": false,
       "download": true
   },
   "email":
   {
       "pop3": false,
       "smtp": false
   },
   "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
}

Get kav status

Verb   URI                   Description
GET    /kaspersky           List summary of KAV configuration.

Note: The request does not require a message body.

Success: Returns JSON data with kav status.

Response

[
   {
       "enable": false,
       "web":
       {
           "upload": false,
           "download": true
       },
       "email":
       {
           "pop3": false,
           "smtp": false
       },
       "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
   }
]

Get kav status

Verb   URI                      Description
GET    /kaspersky/:id           List summary of KAV configuration by ID.

Note: The request does not require a message body.

Success: Returns JSON data with kav status.

Response

{
   "enable": false,
   "web":
   {
       "upload": false,
       "download": true
   },
   "email":
   {
       "pop3": false,
       "smtp": false
   },
   "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
}

Update kav status

Verb    URI                     Description
POST    /kaspersky/:id           update kav configuration.

Example Request and Response

Request JSON

{
   "enable": true,
   "web":
   {
       "upload": false,
       "download": true
   },
   "email":
   {
       "pop3": true,
       "smtp": false
   }

}

Request JSON

{
   "enable": true,
   "web":
   {
       "upload": false,
       "download": true
   },
   "email":
   {
       "pop3": true,
       "smtp": false
   },
   "id": "9eeaafce-ed00-4737-88fd-38b59e398f56"
}
npm loves you