system properties

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 07:29 AM
1) I have a requirement to increase the instance hardening score. I have set the Setting Entity Expansion Threshold - glide.xmlutil.max_entity_expansion property to 3000, but I have no idea on how to test this functionality. Can anyone help me in understanding how to test this functionality ??
2) How to add this property glide.security.header.auto_set_x_content_type_options in instance plese adivise step by step .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2024 08:58 AM
The `glide.security.header.auto_set_x_content_type_options` property in ServiceNow is used to control the setting of the `X-Content-Type-Options` header in HTTP responses. This header is a security feature that helps mitigate MIME sniffing vulnerabilities in certain browsers.
To add or modify this property in a ServiceNow instance, you typically need administrative access. Here's how you can do it:
1. **Login to ServiceNow:**
- Log in to your ServiceNow instance with administrative credentials.
2. **Open System Properties:**
- Navigate to the application menu and find the "System Properties" module.
3. **Search for the Property:**
- Use the search bar or navigate through the list to find the property named `glide.security.header.auto_set_x_content_type_options`.
4. **Edit the Property:**
- Once you locate the property, click on it to open the details.
5. **Set the Value:**
- Modify the value of the property according to your requirements. The value for this property would typically be `true` or `false` to enable or disable the automatic setting of the `X-Content-Type-Options` header.
6. **Save Changes:**
- After setting the value, save the changes to apply the configuration.
Keep in mind that modifying system properties, especially security-related ones, should be done carefully, and changes may have implications on the security posture of your ServiceNow instance. It's recommended to understand the purpose of the property and consult ServiceNow documentation or support resources if you are unsure about its implications.
Additionally, consider testing the changes in a non-production environment before applying them to a production instance to ensure that they work as expected and do not introduce unexpected behavior.