Skip to main content
Skip table of contents

Attachment Scanner for Jira

Welcome to the documentation space for the Attachment Scanner for Jira! This powerful tool enhances your Jira experience by providing an intuitive and accessible way to scan attachments directly within the Jira interface. No longer will you need to deal with complex configurations to ensure attachment compliance.

This documentation space will guide you through everything you need to know to make the most of Attachment Scanner for Jira.

Using Attachment Scanner for Jira is straightforward:

Prerequisite

You need to have a virus scanning command line tool that returns 1 in case it detects a virus and 0 if there is no virus detected on the instance Jira is running on.

Example setup of virus scanning tool (ClamAV):

  1. Access the server that runs Jira:

    1. If running Jira on Kubernetes Environment, then access the master pod.

  2. Install the virus scanner command-line-tool.

CODE
sudo apt install clamav clamav-daemon -y
  1. Update ClamAV virus database.

CODE
sudo freshclam
  1. Test virus scanner.

CODE
clamscan path/to/file
  1. Make sure the outputs return as expected.

  2. Once the virus scanning CLI-Tool is installed, you can continue setup up Attachment Scanner for Jira.

1. Acquire App from the Atlassian Marketplace & Install it in Jira

After finishing all prerequisite steps, go on to acquire Attachment Scanner for Jira from the marketplace and install it in Jira.

2. Configure virus scanning command


Check the Settings under “Configure Attachment Scanner” in the “Administration” section of the Jira configuration. You will need to put the virus scanning command for the specific tool you are using inside the configuration. Add parameters, a custom comment, an email-address to notify as well as a replacement message for any content that contains a virus.

Bildschirmfoto 2024-07-21 um 09.44.30 (2).png

3. Upload and scan attachments

Once configured, you can use Attachment Scanner for Jira to trigger your virus scanning command on every upload of attachments to Jira. The App will run your virus scanning tool command and filter out potential viruses and threats to your infrastructure. During the scanning process you can see a small animation for progress indication. Any filtered contents will be replaced with the replacement string configured in the settings for Attachment Scanner.

Bildschirmfoto 2024-07-25 um 12.24.47.png

 

CAS screenshot dummy (1).png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.