/**
 * Add Content Security Policy headers.
 *
 * @param array $headers Current headers.
 *
 * @return array
 */
function sovos_add_csp_headers( array $headers = array() ): array {
    if ( is_user_logged_in() ) {
        // Only apply CSP to non-logged in users.
        return $headers;
    }

    $header = array(
        'base-uri'        => array( "'none'" ),
        'default-src'     => array( "'self'", 'https://*.crazyegg.com' ),
        'connect-src'     => array( 
            "'self'", 
            'https:', 
            'ws:', 
            'wss:', 
            'https://*.crazyegg.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'img-src'         => array( 
            "'self'", 
            'https:', 
            'data:', 
            'blob:', 
            'https://*.sovos.com', 
            'https://sovos.com', 
            'https://cdn.bfldr.com', 
            'https://*.crazyegg.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'media-src'       => array( "'self'", 'data:', 'blob:', 'https://*.sovos.com' ),
        'object-src'      => array( "'none'" ),
        'script-src'      => array( 
            "'self'", 
            "'unsafe-inline'", 
            "'unsafe-eval'", 
            'https:', 
            'data:',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'style-src'       => array( "'self'", "'unsafe-inline'", 'https:' ),
        'font-src'        => array( "'self'", 'data:', 'https:' ),
        'worker-src'      => array( "'self'", 'blob:' ),
        'frame-src'       => array(
            "'self'",
            'https://*.sovos.com',
            'https://sovos.com',
            'https://*.youtube.com',
            'https://*.marketo.com',
            'https://fast.wistia.com',
            'https://fast.wistia.net',
            'https://js.driftt.com',
            'https://www.google.com',
            'https://www.googletagmanager.com',
            'https://documentcloud.adobe.com',
            'https://*.flowpaper.com',
            'https://e.infogram.com',
            'https://td.doubleclick.net',
            'https://recruit.hirebridge.com',
            'https://maps.google.com',
            'https://app.getreprise.com',
            'https://cdn.bfldr.com',
            'https://*.crazyegg.com',
            'https://*.1mind.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'frame-ancestors' => array(
            "'self'",
            'https://*.sovos.com',
            'https://sovos.com',
            'https://*.1mind.com',
        ),
    );

    $csp_policy = 'upgrade-insecure-requests; ';
    foreach ( $header as $directive => $sources ) {
        $csp_policy .= $directive . ' ' . implode( ' ', $sources ) . '; ';
    }

    $headers['Content-Security-Policy'] = trim( $csp_policy );

    return $headers;
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//sovos.com/pt/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://sovos.com/pt/post-sitemap.xml</loc>
		<lastmod>2026-08-17T16:59:57+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/page-sitemap.xml</loc>
		<lastmod>2026-09-14T17:13:09+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_study-sitemap.xml</loc>
		<lastmod>2024-05-08T18:00:34+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_event-sitemap.xml</loc>
		<lastmod>2026-05-11T15:35:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_webinar-sitemap.xml</loc>
		<lastmod>2024-10-01T17:16:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_leadership-sitemap.xml</loc>
		<lastmod>2023-06-06T13:00:23+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_contentlibrary-sitemap.xml</loc>
		<lastmod>2026-06-09T14:17:52+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/sovos_press-sitemap.xml</loc>
		<lastmod>2024-11-28T19:47:22+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/post_tag-sitemap.xml</loc>
		<lastmod>2026-04-21T19:07:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/pt/solution-sitemap.xml</loc>
		<lastmod>2026-09-14T17:13:09+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->