Git Product home page Git Product logo

admin-manageability-addon's Introduction

Admin-Manageability-Addon

Introduction

Drive add-on which can provide some insights to the admin of Apps Scripts and also allow them to perform some actions.

Insights to be provided are

  • Most executed Script
  • Most Active Users
  • Owner of Apps Script

Actions allowed to admin are

  • Create a rule
  • Update a rule
  • Send notification to both admin and owner if a rule is broken

Background

  • Drive add-on is built using Google apps script
  • Cloud Logging APIs are used to analyze the stackdriver logs
  • Log entry
  • Label script.googleapis.com/deployment_id is the label which tells us about the deployment id of the Apps script
  • Label script.googleapis.com/process_id tells about the unique process id for the execution. This helps us to determine the number of executions as there can be multiple logEntry for a single execution.
  • Label script.googleapis.com/project_key tells about the unique project Id and this helps to determine which project has more executions and which has less.
  • Label script.googleapis.com/user_key is an encrypted user id which helps to check the users having maximum number of executions.

Background

Requirements

1. Having a registered organization with Google
2. Having the IAM Admin role of Resource Manager

Installation

Open the link https://script.google.com/d/14FNZZH4F__s3n3DkRcm-ym6_3QAuWJaD33bGdBcXbqDf3DASTkXXyKLb/edit?usp=sharing

Installing

Select Publish

Installing

Select Deploy from Manifest

Installing

A dialog box appears and select install add-on

Installing

Click Close Button

Installing

Open the drive and click the chart icon

Installing

UI of the add-on

Installing

Built With

  • Apps Script : Used for creating the whole back end
  • Card Service : Used to build the UI for the add-on
  • Python : Used to build the script files
  • Flask : Used to create the API

Other Refrences

  • Add-ons : Overview of an add-on with sample add-on
  • Cloud Logging APIs : Overview of logging APIs with functionality and usage
  • Log Entry : Structure of the stackdriver logs with functionality

admin-manageability-addon's People

Contributors

siddhi-mahawar avatar siddhimahawar avatar

Stargazers

 avatar

Watchers

 avatar  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.