SMART overview
This section describes the configuration and management of SMART File Scan scan over the API.
SiteLock provides API methods for:
-
Setting and retrieving SMART File Scan configuration settings
-
Setting and retrieving SMART Patch Scan configuration settings
-
Setting and retrieving SMART Database Scan configuration settings
The API endpoint is:
https://api.sitelock.com/v1/partner
SMART File Scan configuration
The SiteLock SMART File Scan service downloads all files from the user’s website and scans them for malicious code. If such code is found in these files, it’s removed and the cleaned file is uploaded back to the user’s website.
The getSMART and modifySMART methods are used to retrieve or update the current SMART File Scan configuration settings.
SMART Patch Scan configuration
The SiteLock SMART Patch Scan service scans the script files of major content management systems, such as WordPress, Joomla, or Drupal to identify and patch vulnerabilities.
The getSMARTPatch and modifySMARTPatch methods are used to retrieve or change the current SMART Patch Scan configuration settings. You can also adjust the SMART Patch Scan behavior by using the manageSMARTPatch method to specify whether files with vulnerabilities will be patched or reverted to a previous patch.
SMART Database Scan configuration
The SiteLock SMART Patch Scan service scans tables in the site’s MySQL databases to identify any injected malware code, spam links and other vulnerabilities. You may choose to receive a warning about found vulnerabilities or have the tables cleaned automatically by SiteLock.
The getSMARTDatabase and modifySMARTDatabase methods are used to retrieve or modify the current SMART Database Scan configuration settings.