XML Alerts

When a module generates an alert, it must pass the name of an XML document to the API function for publishing an alert. The XML document is located in the following directory:

xml/alerts/

The XML schema follows:

<?xml version="1.0" encoding="UTF-8"?>
<alert>
<title>Test vulnerability</title>

    <class>Example</class>
    <severity>High</severity>       

    <impact> Could be used to demonstrate partially completed functionality of web application scanner.</impact>
    <impact> May cause boredom.</impact>

    <remediation>
      There is currently no solution for this vulnerability.  Contact your vendor.  
    </remediation>
        <remediation>
          Honestly, you're outta luck.
        </remediation>

    <discussion>
        Discuss it here.
    </discussion>

    <external>
        <url address="http://subgraph.com">Subgraph security.</url>
    </external>

    <references>
        <url address="http://minecraft.net">Minecraft is a good game.</url>
        <url address="http://en.wikipedia.com">Learn stuff here</url>
    </references>

</alert>