<#472 replicate logic used for admin to run queris...
# osctrl
g
#472 replicate logic used for admin to run queris on multiple UUIDs, Envs,… Pull request opened by peterbogdan Tested locally:
Copy code
response = <http://self.session.post|self.session.post>(
            f"{self.base_url}/queries/qa", json={"uuid_list": uuids, "query": "SELECT * FROM sudoers;"}
        )
        response.raise_for_status()
image Let me know if there are any tests I should update or anything else tests have passed in my fork here I have replicated the logic from QueryRunPOSTHandler in Admin for this jmpsec/osctrl All checks have passed 24/24 successful checks