Skip to content

Commit

Permalink
Merge pull request #142 from TheJumpCloud/JumpCloudModule_1.13.3
Browse files Browse the repository at this point in the history
Jump cloud module 1.13.3
  • Loading branch information
epanipinto-jc authored Sep 4, 2019
2 parents 382b4b1 + 6e755c4 commit 31ae201
Show file tree
Hide file tree
Showing 8 changed files with 212 additions and 123 deletions.
28 changes: 3 additions & 25 deletions PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,9 @@ The Connect-JCOnline function sets the global variable $JCAPIKEY

## SYNTAX

### Interactive (Default)
```
Connect-JCOnline [-JCEnvironment <String>] [-ip <String>] [-JumpCloudApiKey] <String>
[[-JumpCloudOrgId] <String>] [<CommonParameters>]
```

### force
```
Connect-JCOnline [-JCEnvironment <String>] [-force] [-ip <String>] [-JumpCloudApiKey] <String>
[[-JumpCloudOrgId] <String>] [<CommonParameters>]
Connect-JCOnline [-force] [-JCEnvironment <String>] [-JumpCloudApiKey] <String> [[-JumpCloudOrgId] <String>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -108,28 +101,13 @@ The '-Force' parameter should be used when using the JumpCloud module in scripts
```yaml
Type: SwitchParameter
Parameter Sets: force
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ip
Enter an IP address
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept pipeline input: False
Accept wildcard characters: False
```
Expand Down
Binary file modified PowerShell/JumpCloud Module/JumpCloud.psd1
Binary file not shown.
144 changes: 132 additions & 12 deletions PowerShell/JumpCloud Module/Private/NestedFunctions/JCTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,126 @@
}
],
"SystemInsights": [
{
"Table": "etc_hosts",
"Url": {
"List": "/api/v2/systeminsights/etc_hosts",
"Item": "/api/v2/systeminsights/{system_id}/etc_hosts",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "address",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "logical_drives",
"Url": {
"List": "/api/v2/systeminsights/logical_drives",
"Item": "/api/v2/systeminsights/{system_id}/logical_drives",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "device_id",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "disk_info",
"Url": {
"List": "/api/v2/systeminsights/disk_info",
"Item": "/api/v2/systeminsights/{system_id}/disk_info",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "disk_index",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "bitlocker_info",
"Url": {
"List": "/api/v2/systeminsights/bitlocker_info",
"Item": "/api/v2/systeminsights/{system_id}/bitlocker_info",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "protection_status",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "patches",
"Url": {
"List": "/api/v2/systeminsights/patches",
"Item": "/api/v2/systeminsights/{system_id}/patches",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "hotfix_id",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "programs",
"Url": {
"List": "/api/v2/systeminsights/programs",
"Item": "/api/v2/systeminsights/{system_id}/programs",
"Variables": [
"{system_id}"
]
},
"Method": "GET",
"ById": "system_id",
"ByName": "name",
"Paginate": true,
"SupportRegexFilter": false,
"Limit": 100,
"Skip": 0,
"FilterOperators": [
"eq"
]
},
{
"Table": "apps",
"Url": {
Expand All @@ -347,7 +467,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "bundle_name",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -367,7 +487,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "name",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -387,7 +507,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "name",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -407,7 +527,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "encryption_status",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -427,7 +547,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "name",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -447,7 +567,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "groupname",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -467,7 +587,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "address",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -487,7 +607,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "path",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -507,7 +627,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "version",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -527,7 +647,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "name",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -547,7 +667,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "cpu_subtype",
"Paginate": true,
"SupportRegexFilter": false,
Expand All @@ -567,7 +687,7 @@
]
},
"Method": "GET",
"ById": "jc_system_id",
"ById": "system_id",
"ByName": "username",
"Paginate": true,
"SupportRegexFilter": false,
Expand Down
Loading

0 comments on commit 31ae201

Please sign in to comment.