Based on the details you shared, I was able to replicate the issue on my end. There are a few corrections required in your configuration to make it work as expected. Please follow the steps below:
First, on your Wazuh manager ossec.conf file, to trigger the active response for a single agent, you should add the configuration as shown below:
In your configuration, you have not used the <agent_id> tag, which is required when using the defined-agent option.
You can refer to the Wazuh active response configuration documentation for more details.
Then restart the manager:
Next, I used a curl API command to trigger the script instead of Postman. You can try the below commands:
First, generate the bearer token:
Replace <username> and <password> with your Wazuh API credentials, and <manager-IP> with your manager IP address.
Copy the generated bearer token from the output.
Then run the below command to check if the script is working:
Replace <manager-IP> and <JWT_TOKEN> accordingly.
Then check whether the script is triggered and if the proof.txt file is created. I have tested this, and it is working fine on my end.
You can refer to the Wazuh active response documentation for more details.
Please let me know the update or if you need any further assistance.

