code: def add_scan_alarm(self, scan_id, host='', name='', value='', port='',
                         test_id='', severity='', qod=''):
          
          self.scan_collection.add_result(scan_id, ResultType.ALARM, host, name,
                                          value, port, test_id, severity, qod)
docs: Adds an alarm result to scan_id scan.