Git Product home page Git Product logo

aznableproxy's Introduction

AzNableProxy

This is a proxy to allow users to retrieve the installation keys for N-Central agents without having complete API access

How to use

Deploy to Azure

Click on Deploy with Azure button, or download the script from https://github.com/KelvinTegelaar/AzNableProxy

Fill in your information:

Basename: anything you want, will be appended with 4 random characters.

JWTKey: Your N-Able JWT key. You can find this at the User management page, last tab called "API".

Nable Hostname: Your Nable hostname.

Branch: Currently only Master is available.

after creating the function, click on "Go to resource" then click on "Functions" and then "Get". Lastely click on "Get Function URL"

This can now be used to get the installation ID for a client. for example for client 101:

 <https://aznableproxy1234.azurewebsites.net/api/Get?code=SOMELONGCODEHERE&ID=101>

you can also use PowerShell to retrieve this ID easily:

 $ID = "101"
 invoke-restmethod -uri "https://aznableproxy1234.azurewebsites.net/api/Get?code=SOMELONGCODEHERE&ID=$($ID)"

FAQ

Q: Why did you write out the XML and not use webservices? A: SOAP is regarded legacy by Microsoft, and thus PowerShell 7 does not support Webservices anymore. to get them to work, you can write-out the XML and pass it with Invoke-Restmethod.

Q: Why an azure function? A: We're a Microsoft house, and we don't like our actual N-central API key flying around. With this all the data you can get is an installation-ID for software. Not the biggest issue.

aznableproxy's People

Contributors

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