Skip to content

Commit

Permalink
v0.4.0 Changes (#114)
Browse files Browse the repository at this point in the history
* initial

* security schema edit

* apiKey security attempt

* Update README.md

* removed oauth, trying apikey

* swagger url

* Update onelogin_config.yml

* tooling extension use

* removed branding service

* removed brands

* brand document removal

* app inheritance changes

* app changes

* removed parameters from app

* required fields

* removed freeforms

* simplify

* updated apps

* app changes

* removed readonly sso

* removed sso examples

* app config changes

* Update README.md

* sso attempt

* SSO readonly added
  • Loading branch information
Jmfwolf committed Apr 10, 2023
1 parent 0e4370f commit 067b70d
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/data-sources/apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ description: |-
- `policy_id` (Number) The security policy assigned to the app.
- `provisioning` (Block List, Max: 1) Indicates if provisioning is enabled for this app. (see [below for nested schema](#nestedblock--provisioning))
- `role_ids` (List of Number) List of Role IDs that are assigned to the app. On App Create or Update the entire array is replaced with the values provided.
- `sso` (Block List, Max: 1) The attributes included in the sso section are determined by the type of app. All of the attributes of the `sso` object are read only. (see [below for nested schema](#nestedblock--sso))
- `tab_id` (Number) ID of the OneLogin portal tab that the app is assigned to.
- `updated_at` (String) the date the app was last updated
- `visible` (Boolean) Indicates if the app is visible in the OneLogin portal.
Expand Down Expand Up @@ -126,3 +127,27 @@ Optional:
- `enabled` (Boolean)


<a id="nestedblock--sso"></a>
### Nested Schema for `sso`

Optional:

- `acs_url` (String) App Name. This is only returned after Creating a SAML App.
- `certificate` (Block List, Max: 1) The certificate used for signing. This is only returned after Creating a SAML App. (see [below for nested schema](#nestedblock--sso--certificate))
- `client_id` (String) The OpenId Connect Client Id. Note that client_secret is only returned after Creating an OIDC App.
- `issuer` (String) Issuer of app. This is only returned after Creating a SAML App.
- `metadata_url` (String) ID of the apps underlying connector. This is only returned after Creating a SAML App.

<a id="nestedblock--sso--certificate"></a>
### Nested Schema for `sso.certificate`

Optional:

- `name` (String)
- `value` (String)

Read-Only:

- `id` (Number) The ID of this resource.


25 changes: 25 additions & 0 deletions docs/data-sources/apps_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ description: |-
- `policy_id` (Number) The security policy assigned to the app.
- `provisioning` (Block List, Max: 1) Indicates if provisioning is enabled for this app. (see [below for nested schema](#nestedblock--provisioning))
- `role_ids` (List of Number) List of Role IDs that are assigned to the app. On App Create or Update the entire array is replaced with the values provided.
- `sso` (Block List, Max: 1) The attributes included in the sso section are determined by the type of app. All of the attributes of the `sso` object are read only. (see [below for nested schema](#nestedblock--sso))
- `tab_id` (Number) ID of the OneLogin portal tab that the app is assigned to.
- `updated_at` (String) the date the app was last updated
- `visible` (Boolean) Indicates if the app is visible in the OneLogin portal.
Expand Down Expand Up @@ -116,3 +117,27 @@ Optional:
- `enabled` (Boolean)


<a id="nestedblock--sso"></a>
### Nested Schema for `sso`

Optional:

- `acs_url` (String) App Name. This is only returned after Creating a SAML App.
- `certificate` (Block List, Max: 1) The certificate used for signing. This is only returned after Creating a SAML App. (see [below for nested schema](#nestedblock--sso--certificate))
- `client_id` (String) The OpenId Connect Client Id. Note that client_secret is only returned after Creating an OIDC App.
- `issuer` (String) Issuer of app. This is only returned after Creating a SAML App.
- `metadata_url` (String) ID of the apps underlying connector. This is only returned after Creating a SAML App.

<a id="nestedblock--sso--certificate"></a>
### Nested Schema for `sso.certificate`

Optional:

- `name` (String)
- `value` (String)

Read-Only:

- `id` (Number) The ID of this resource.


26 changes: 26 additions & 0 deletions docs/resources/apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ description: |-
- `policy_id` (Number) The security policy assigned to the app.
- `provisioning` (Block List, Max: 1) Indicates if provisioning is enabled for this app. (see [below for nested schema](#nestedblock--provisioning))
- `role_ids` (List of Number) List of Role IDs that are assigned to the app. On App Create or Update the entire array is replaced with the values provided.
- `sso` (Block List, Max: 1) The attributes included in the sso section are determined by the type of app. All of the attributes of the `sso` object are read only. (see [below for nested schema](#nestedblock--sso))
- `tab_id` (Number) ID of the OneLogin portal tab that the app is assigned to.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `updated_at` (String) the date the app was last updated
Expand Down Expand Up @@ -120,6 +121,31 @@ Optional:
- `enabled` (Boolean)


<a id="nestedblock--sso"></a>
### Nested Schema for `sso`

Optional:

- `acs_url` (String) App Name. This is only returned after Creating a SAML App.
- `certificate` (Block List, Max: 1) The certificate used for signing. This is only returned after Creating a SAML App. (see [below for nested schema](#nestedblock--sso--certificate))
- `client_id` (String) The OpenId Connect Client Id. Note that client_secret is only returned after Creating an OIDC App.
- `issuer` (String) Issuer of app. This is only returned after Creating a SAML App.
- `metadata_url` (String) ID of the apps underlying connector. This is only returned after Creating a SAML App.

<a id="nestedblock--sso--certificate"></a>
### Nested Schema for `sso.certificate`

Optional:

- `name` (String)
- `value` (String)

Read-Only:

- `id` (Number) The ID of this resource.



<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Expand Down
34 changes: 34 additions & 0 deletions swag-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9181,6 +9181,40 @@ definitions:
description: Role ID
type: integer
type: array
sso:
description: >-
The attributes included in the sso section are determined by the type of app.
All of the attributes of the `sso` object are read only.
type: object
readOnly: true
properties:
client_id:
type: string
description: The OpenId Connect Client Id. Note that client_secret is only returned after Creating an OIDC App.
readOnly: true
metadata_url:
type: string
description: ID of the apps underlying connector. This is only returned after Creating a SAML App.
readOnly: true
acs_url:
type: string
description: App Name. This is only returned after Creating a SAML App.
readOnly: true
issuer:
type: string
description: Issuer of app. This is only returned after Creating a SAML App.
readOnly: true
certificate:
type: object
description: The certificate used for signing. This is only returned after Creating a SAML App.
readOnly: true
properties:
id:
type: integer
value:
type: string
name:
type: string
tab_id:
description: ID of the OneLogin portal tab that the app is assigned to.
example: 196885
Expand Down

0 comments on commit 067b70d

Please sign in to comment.