Coder Social home page Coder Social logo

asoc-batch's Introduction

Managing ASoC (AppScan on Cloud) with Script for Batch operations

This script is written by Antony Chiu
Modified by Kevin Chia.

This Powershell script allows you to perform the following functions on AppScan on Cloud (https://cloud.appscan.com):

  1. Check Current Token - Check your connection status with ASoC
  2. List Current Users - List all the users on your ASoC
  3. List Current Apps - List all Apps on your ASoC
  4. List Assist Group - List all Assist Group on your ASoC
  5. Invite Users - Invite the users from ASoC_UserInviteList.txt
  6. Delete a selected set of Users by Role - Batch Delete a set of users by their role
  7. Delete a selected Asset Group - Batch delete a particular asset group
  8. Get Counts - Get application and user counts

Script Setup

In order to use the script, there are some things you need to do.

  1. Provide API KEY and SECRET in config.json:
{
    "API_KEY": "YOUR ASOC API KEY",
    "API_SECRET": "YOUR ASOC API SECRET",
    "BASEURL": "https://cloud.appscan.com/api/V2"
}

Note: If you are working with ASoC EU, change the BASEURL to the following: https://cloud.appscan.com/eu/api/V2

How to use the script

To run the script, use ASoC_MainMenu.ps1

How to Invite users

1.Put all the emails you want to invite in ASoC_UserInviteList.txt
Make sure each line contains only 1 email address
For example:

Afterwards, use Option 5 to invite users.

How to delete users

Use Option 6 to delete all users by role ID.

How to delete Asset Groups

Use Option 7 to delete a selected asset group

asoc-batch's People

Contributors

antonychiu2 avatar kevchia avatar

Stargazers

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