How To Configure Security Scan In Magento 2

Magento provides a tool to help shop owners secure their stores. Through security scans, It will help you prevent attacks from hackers targeting important data in the store. And especially this tool is free, use it to increase the security of your store. In the post, I will guide you How To Configure Security Scan In Magento 2.

About Security Scan

Enhanced Magento Security Scan allows you to monitor each of your Magento sites for known security risks and malware, and to receive patch updates and security notifications.

  • Gain insight into the real-time security status of your store.
  • Receive suggestions based on best practices to help resolve issues.
  • Schedule security scan to run weekly, daily, or on demand.
  • Run over 17,000 security tests to help identify potential malware.
  • Access historical security reports that track and monitor the progress of your sites.
  • Access the scan report that shows successful and failed checks, with any recommended actions.

Steps To Configure Security Scan In Magento 2

Step 1: Log in to Magento Account at

Step 2: In the panel on the left, choose Security Scan -> Go to Security Scan -> Read the Terms and Conditions -> Agree.

Choose Security Go To Security Scan

Step 3: On the Monitored Websites page, click Add Site.

Click Add Site button

Step 4: To verify your ownership of the site domain, do the following:

  • Enter the Site URL, Site Name, and click Generate Confirmation Code.
Verify your ownership of the site domain
  • Click Copy to copy your confirmation code to the clipboard.

Step 5: Log in to the Admin Panel and do the following:

  • Choose CONTENT -> Design -> Configuration.
  • Find your site in the list, and click Edit.
  • Expand the HTML Head section.
Expand HTML Head Section
  • Paste the confirmation code into the Scripts and Style Sheets field.
Paste the confirmation code into the Scripts and Style Sheets field
  • Click Save Configuration when complete.

Step 6: Return to the Security Scan page and click Verify Confirmation Code to establish your ownership of the domain.

Click Verify Confirmation Code button

Step 7: Configure the Set Automatic Security Scan options for one of the following types:

  • Scan Weekly (recommended): Choose the Week DayTime, and Time Zone that the scan is to take place each week.
Configure Scan Weekly
  • Scan Daily: Choose the Time, and Time Zone that the scan is to take place each day.
Configure Scan Daily

Step 8: Enter the Email Address where you want to receive notifications of completed scans and security updates.

Enter Email Address

Step 9: Click Submit button.

Click Submit button

You can read more useful articles like How To Create 301 Redirect In Magento 2.

Follow us for the more helpful posts!

We hope this is a useful post for you.

Thank you for reading!

4.5 2 votes
Article Rating

Aaron LX

Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.

Leave a Reply or put your Question here

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x