Git Product home page Git Product logo

adblocker's Introduction

ADBlocker

On premises agent to block and unblock users on the Active Directory based on missing timesheets in Skills Workflow

Framework/Tools/Dependencies

  • .NET Framework 4.8
  • Visual Studio 2015 or later

Running Instructions - Windows

  1. Download the source code and open the solution in Visual Studio.
  2. Open app.config file and change the app settings accordingly. These settings are explained further below.
  3. Run the application

Scheduling Instructions - Windows

  1. ADBlocker application should be run as a Scheduled Task. Create a new Scheduled Task in Task Scheduler.
  2. Manage the created Task. Choose a user with permissions to run the task and set a trigger to run the task in repeat mode.
  3. The ADBlocker task should run with a recurring short period of time.
  4. Set the task to run the ADBlocker.exe file. No entry parameters are required

ADBlocker Settings

  1. Active Directory
  2. This are the credentials for the Active Directory you're accessing.
    • AD:Domain - This setting should be parametrized with the Active Directory domain.
    • AD:User - Active Directory User Username. This user should have permissions to block/unblock users from the Active Directory.
    • AD:Password - Active Directory User password.
  3. SkillsWorkflow
    • Skills:ApiUrl - SkillsWorkflow Api base url. It depends on the Environment and Tenant being used. It has the following scructure https://api-tenant-environment-we.skillsworkflow.com. Use the name of the company provided to you for the parameter "tenant". For "environment" use "prod", "test" or "dev" for one of Skills Workflow's Environments: Production, Testing, Development.
    • Skills:AppId - SkillsWorkflow Tenant application id. This id must be requested to SkillsWorkflow team. It will be used to ensure comunication with SkillsWorkflow api.
    • Skills:AppSecret - SkillsWorkflow Tenant application secret. It is used with Tenant application id.
    • Skills:SSLPublicKey - SkillsWorkflow SSL certificate public key. It is used to validate requests to SkillsWorkflow Api. This key must be requested to SkillsWorkflow team.
    • Skills:Environment - AdBlocker application environment settings. When set to "Local" it will disable SSL certificate validations and application errors will be registered accordingly. To use SSL certificate validation use "Production" mode. Use "Production", "Test", "Development" or "Local" depending on the environment the application is being deployed.
  4. Raygun
    • Raygun:JobName - Parameter used to group information in Raygun logging platform. Default value is "ADBlocker".
    • Raygun:AppKey - Raygun platform access key. This key must be requested to SkillsWorkflow team.

adblocker's People

Contributors

rumbafum avatar bmoscao avatar duquevieira avatar ftereso 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.