Reset Search
 

 

Article

KB45442 - How to change the Integrity Scanner Interval using REST API ?

« Go Back

Information

 
Last Modified Date9/6/2022 1:33 PM
Synopsis
This article will provide information to change the value for Integrity Scanner Interval using REST API 
Problem or Goal
Cause
Solution
Prerequisite:
  • VPN with minimum PCS/PPS/ICS
  • Minimum OS 9.1R12 or higher.
  • Postman Client (any REST API client)

Periodic Scan - It performs the Integrity check in the file system every 1 hour, 2 hours, 6 hours, 12 hours, 24 hours
This can be manually located through Admin GUI > System > Configuration > Security > Miscellaneous 


Following instructions used to modify the Periodic Scan Interval

Step 1: Enable REST API access on the admin user.
Under Admin GUI > Auth Servers > Administrators > Users > Update Administrator admin > Enable 'Allow access to REST APIs'

Step 2: Setup CURL, Postman or any rest API client to use for desired OS machine. (I have used postman on Windows in this case)

Step 3: Generate Auth Key

Step 4: Use the following syntax:
PUT URL
https://<IP ADDRESS or FQDN>/api/v1/configuration/system/configuration/security/ict-scan-interval/

Request Body:
{
"ict-scan-interval-time": "3600"
}

Note: 
a. 3600 is seconds value and this has to be in 1, 2,6 12 and 24 hours.
b. Replace your appliance IP ADDRESS or FQDN in the above syntax to actual value.
 
Response Body:
{
result": {
    "info": [
      {
"message": "Operation succeeded without warning or error!"
      }
    "info":]
   }
}


User-added image



Verification can also be done through VPN appliance Admin Access logs:
SeverityIDMessage
InfoADM246802022-09-07 07:10:05 - ic - [127.0.0.1gouri()[] - XML import succeeded, status = Succeed
InfoADM245962022-09-07 07:10:05 - ic - [127.0.0.1gouri()[] - Modified (System > Configuration > Global Security > Integrity Checker Tool Scan Interval > ict scan interval) from: [7200] to: [3600]
InfoADM315782022-09-07 07:10:04 - ic - [127.0.0.1gouri()[] - REST API: PUT '/api/v1/configuration/system/configuration/security/ict-scan-interval/'.
InfoADM315782022-09-07 07:09:58 - ic - [127.0.0.1gouri()[] - REST API: PUT '/api/v1/configuration/system/configuration/security/ict-scan-interval/'.
Related Links
Attachment 1 
Created ByGourinath Diojode

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255