Skip to main content
NetApp Knowledge Base

How do you find the Content Security Policy in ONTAP

Views:
72
Visibility:
Public
Votes:
0
Category:
ontap-system-manager
Specialty:
om
Last Updated:

Applies to

  • ONTAP 9.x
  • ONTAP System Manager
  • Content Security Policy

Answer

** NOTE Content Security Policy is built into ONTAP OS is not meant to be changed. **

cat /mroot/etc/www/svcs/sysmgr/svc.conf
ServiceName                     sysmgr
ServiceDefault                  On
ServiceVersion                  1.0.0
ServiceDesc                     "OnCommand System Manager"
ServiceDescLong                 "The OnCommand System Manager web service"
ServiceRoot                     /sysmgr
ServiceRestrictRootChange       Off
ServiceRestrictLocal            Off
ServiceRequires                 rest>0.0.0 disco>0.0.0
ServiceRoles                    admin readonly
ServiceCapabilities             web.system_manager
ServiceRestrictVserver          cluster
ServiceSslOnly                  On


Header always set Content-Security-Policy "default-src 'self' https://api.bluexp.netapp.com https://cloudmanager.cloud.netapp.com https://api.services.cloud.netapp.com https://services.cloud.netapp.com https://activeiq-link.netapp.com https://api.activeiq.netapp.com https://gql.aiq.netapp.com https://api.support.netapp.com; script-src 'self' 'unsafe-eval' https://services.cloud.netapp.com; img-src 'self' data: ; font-src 'self' ; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'; object-src 'none'"
Header always setifempty X-Frame-Options SAMEORIGIN
Header always set X-XSS-Protection "1; mode=block"

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.