Writes an audit entry to the database.

def WriteAPIAuditEntry(self, entry):
    """Writes an audit entry to the database."""
    copy = entry.Copy()
    copy.timestamp = rdfvalue.RDFDatetime.Now()
    self.api_audit_entries.append(copy)