Git Product home page Git Product logo

atlassian-addons-audit-sheet's Introduction

atlassian-addons-audit-sheet

This tool will synchronize the list of Enabled User-Installed plugins in JIRA, Confluence, and Bitbucket with a Google Sheet for documentation and auditing.

Getting Started

You will need to update config_audit.py for your environment:

  • google_sheet_url - URL of your Google Sheet. A sample that you can copy is here: https://docs.google.com/spreadsheets/d/1iBHfz0TOyPxC3JRQp30v2Qs9lHbKfwOG-eZ53BK_ok0/edit#gid=0
    • Replace YOURGOOGLESHEET with your Google Sheet URL.
  • target_url - Sheet Names and URLs of your Confluence, JIRA, and Stash servers.
    • Replace YOURCONFLUENCESERVER with URL to your Confluence server.
    • Replace YOURJIRASERVER with URL to your Jira server.
    • Replace YOURBITBUCKETSERVER with URL to your Stash/Bitbucket server.
  • jira_credentials - your username and password. (We assume the same credentials will work across all your servers.)

Prerequisites

Usage

Once you've installed the required libraries, you should be able to simply run:

./audit.py hosts (jira, confluence, stash, or all)

example:

./audit.py jira
./audit.py jira confluence
./audit.py all

As it runs, the script will echo out each Plugin it finds, along with description, current version, and pricing; it then updates the sheet with this information.

Extras

sheetscript.gs is an Apps Script that can be added to your Google Sheet to automatically generate an email when licenses are about to expire. Additionally, it adds a pop-up alert to the sheet warning users not to edit any columns that may be overwritten by the audit.py script. You'll need to update sheetscript.gs then specify these values:

  • emailAddress, replace YOUREMAILADDRESS with your email address.
  • (optional) daysprior (default 7-day notice), replace 7 with your preferred day number.

The sample Google Sheet contains conditional formatting that automatically color codes cells accordingly:

  • Tag column (Req = Green, Attn = Red)
  • Version mismatch with Latest version - Yellow
  • License expiring within 7 days - Orange
  • Known Atlassian built-in add-on - Blue

License

addons-audit-sheet is licensed under the Apache License, v2.0.

Disclaimer

This is not an official Google product.

atlassian-addons-audit-sheet's People

Contributors

rizdaprasetya avatar darrylleeg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.