Giter Club home page Giter Club logo

Comments (3)

scottd3v avatar scottd3v commented on July 24, 2024

The amazonInstanceID is populated for systems hosted in amazon see an example output of the JSON object for a system below:

systemToken : REMOVED
rganization : REMOVED
created : 1/2/18 10:21:00 PM
lastContact : 11/1/18 4:53:20 PM
os : Ubuntu
version : 16.04
arch : x86_64
networkInterfaces : {@{address=172.31.34.140; family=IPv4; internal=False; name=eth0}, @{address=fe80::c98:aeff:feb3:fd60; family=IPv6;
internal=False; name=eth0}, @{address=127.0.0.1; family=IPv4; internal=True; name=lo}, @{address=::1; family=IPv6;
internal=True; name=lo}}
hostname : ip-172-31-34-140
displayName : ip-172-31-34-140
systemTimezone : 0
templateName : ubuntu-16.04-x86_64
remoteIP : 54.174.23.213
amazonInstanceID : i-0aad3fa40a1ba30ed
active : True
sshdParams : {@{name=ChallengeResponseAuthentication; value=no}, @{name=UsePAM; value=yes}, @{name=PubkeyAuthentication; value=no},
@{name=PermitRootLogin; value=yes}...}
allowSshPasswordAuthentication : True
allowSshRootLogin : True
allowMultiFactorAuthentication : True
allowPublicKeyAuthentication : False
modifySSHDConfig : True
agentVersion : 0.10.22
connectionHistory : {}
serialNumber : REMOVED
_id : REMOVED

from jcapi-go.

sparkacus avatar sparkacus commented on July 24, 2024

How can I access the 'amazonInstanceID' key using the V1 api?

It's not something listed in this struct as far as I can tell - https://github.com/TheJumpCloud/jcapi-go/blob/master/v1/system.go

I'm rather new to GO, so apologies if it's something simple that I've missed.

from jcapi-go.

bbawn avatar bbawn commented on July 24, 2024

This should be fixed in #27 . amazonInstanceIID is now part of the JumpCloud API and is thus included in the generated SDK

from jcapi-go.

Related Issues (10)

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.