Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom File Upload Scanner Plugin

Kevin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 28, 2021

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.

1 answer

0 votes
Fabian Lim
Community Champion
October 30, 2021

Hi Kevin,

You can start here to start developing your own plugins. Link:  https://developer.atlassian.com/server/confluence/writing-confluence-plugins/

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events