Comments (3)
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.
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.
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)
- SearchApi usage example HOT 8
- v1 - delete system - cannot unmarshal object into Go struct field System.sshdParams HOT 2
- Query String Filter HOT 1
- Provide a open source license
- is this still active?
- Auth policies is not available.
- Missing method to `GET` the organization settings
- CloudQuery Source Plugin?
- Support new fields that are added in the API but currently not supported in the sdk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcapi-go.