I would like to create a plugin that does a file scan for attachments upon upload. When it passes the scan, i want it to behave as per normal, but if it fails, i want to remove it, and prompt the user that the file uploaded has failed the scan. I am currently doing it by listening to the AttachmentCreateEvent, but there are some issues on the UI side. Does anyone know the best way to approach this?
I understand that there are attachment checker plugins available on the marketplace, but i would like to create my own as i need a custom way to scan my files.
Hi Kevin,
You can start here to start developing your own plugins. Link: https://developer.atlassian.com/server/confluence/writing-confluence-plugins/
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.