<!--
	Nonfunctional hosts in *coverity.com:

		- blog ¹
		- go *
		- scan6 ²
		- security ²
		- softwareintegrity *

	¹ 403
	* Marketo
	² Refused


	Problematic hosts in *coverity.com:

		- ^ ¹
		- autodiscover ²
		- webstaging ¹

	¹ Missing certificate chain
	² Refused


	These altnames don't exist:

		- apps.communities.coverity.com
		- www.communities.coverity.com
		- scan7.coverity.com


	Insecure cookies are set for these hosts:

		- communities.coverity.com
		- uat.communities.coverity.com
		- apps.uat.communities.coverity.com

		- scan.coverity.com


	Mixed content:

		- Image on www from webstaging.coverity.com
		- favicon on www from $self *

	* Secured by us

-->
<ruleset name="Coverity.com (partial)">

	<!--	Direct rewrites:
				-->
	<target host="communities.coverity.com" />
	<target host="uat.communities.coverity.com" />
	<target host="apps.uat.communities.coverity.com" />
	<target host="scan.coverity.com" />
	<target host="scan5.coverity.com" />
	<target host="trial.coverity.com" />
	<!--target host="webstaging.coverity.com" /-->
	<target host="www.coverity.com" />

	<!--	Complications:
				-->
	<target host="coverity.com" />
	<target host="autodiscover.coverity.com" />
	<target host="go.coverity.com" />
	<target host="softwareintegrity.coverity.com" />

		<exclusion pattern="^http://(?:go|softwareintegrity)\.coverity\.com/+(?!css/|images/|rs/)" />

			<!--	+ve:
					-->
			<test url="http://go.coverity.com/register-for-gartner-mq-report.html" />
			<test url="http://softwareintegrity.coverity.com/free-trial-3.html" />
			<test url="http://softwareintegrity.coverity.com/free-trial-coverity.html" />
			<test url="http://softwareintegrity.coverity.com/free-trial.html" />

			<!--	-ve:
					-->
			<test url="http://go.coverity.com/css/mktLPSupport.css" />
			<test url="http://go.coverity.com/rs/coverity/images/body-bg.gif" />
			<test url="http://softwareintegrity.coverity.com/css/mktLPSupport.css" />
			<test url="http://softwareintegrity.coverity.com/rs/coverity/images/coverity-logo-white.png" />

	<!--	Not secured by server:
					-->
	<!--securecookie host="^(uat\.|apps\.uat\.)?communities\.coverity\.com$" name="^BIGipServer\+-11-pool$" /-->
	<!--securecookie host="^communities\.coverity\.com$" name="^(JSESSIONID|jive\.server\.info)$" /-->
	<!--securecookie host="^scan\.coverity\.com$" name="^(_session_id|request_method)$" /-->

	<securecookie host="^\." name="^__qca$" />
	<securecookie host="^\w" name="." />


	<rule from="^http://coverity\.com/"
		to="https://www.coverity.com/" />

	<!--	For /+\w.*, redirect keeps path but not args:
								-->
	<rule from="^http://autodiscover\.coverity\.com/+([^?]+).*"
		to="https://outlook.office365.com/$1" />

		<test url="http://autodiscover.coverity.com/index.aspx" />
		<test url="http://autodiscover.coverity.com/index.htm" />
		<test url="http://autodiscover.coverity.com/index.php" />

	<!--	For /+\?.*, drops args:
						-->
	<rule from="^http://autodiscover\.coverity\.com/.*"
		to="https://outlook.office365.com/owa/" />

		<test url="http://autodiscover.coverity.com/?foo" />
		<test url="http://autodiscover.coverity.com//?bar" />

	<rule from="^http://(?:go|softwareintegrity)\.coverity\.com/"
		to="https://na-sjf.marketo.com/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
