code: def kernel_integrity(attrs=None, where=None):
      '''
      Return kernel_integrity information from osquery
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' osquery.kernel_integrity
      '''
      if __grains__['os_family'] in ['RedHat', 'Debian']:
          return _osquery_cmd(table='kernel_integrity', attrs=attrs, where=where)
      return {'result': False, 'comment': 'Only available on Red Hat or Debian based systems.'f kernel_integrity(attrs=None, where=None):
      '''
      Return kernel_integrity information from osquery
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' osquery.kernel_integrity
      '''
      if __grains__['os_family'] in ['RedHat', 'Debian']:
          return _osquery_cmd(table='kernel_integrity', attrs=attrs, where=where)
      return {'result': False, 'comment': 'Only available on Red Hat or Debian based systems.'}
docs: Return kernel_integrity information from osquery
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' osquery.kernel_integrity