psql -d cb -p 5002 -c "select id,computer_name,network_isolation_enabled,build_id from sensor_registrations where network_isolation_enabled='t';" >> /tmp/NAME.csv