ReportAttributes.xml

This configuration file contains a list of all the attributes of objects that are available for reporting. When a new reportable object (view or summary table) is created, the reportable attributes of that object have to be listed in this file. Continuing with the previous example, the view or summary tables expose six columns. They are entity_id, name, organization, compliance_score, risk_score and end_date. If ReportAttributes.xml will look like this (assuming that these are the only attributes defined):

<?xml version="1.0" encoding="utf-8" ?>

<root>

 <Group name="ArchivedAssessments" tablename="aglv_archived_assessments">

 <Attribute name="ArchivedAssessments.name" displayname="Assessment Name" columnname="name" datatype="string"/>

 <Attribute name="ArchivedAssessments.organization" displayname="Assessment Organization" columnname="organization" datatype="string"/>

<Attribute name="ArchivedAssessments.complianceScore" displayname="Compliance Score" columnname="compliance_score" datatype="float"/>

 <Attribute name="ArchivedAssessments.riskScore" displayname="Risk Score" columnname="risk_score" datatype="float"/>

 <Attribute name="ArchivedAssessments.endDate" displayname="Assessment End Date" columnname="end_date" datatype="timestamp"/>

</Group>

</root>

Note that you have defined a group of attributes that correspond to the columns in the newly-defined reportable object. This group of attributes can be referred later by the group name.