Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# opal-security
Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

Expand Down Expand Up @@ -175,7 +175,7 @@ Class | Method | HTTP request | Description
*GroupsApi* | [**set_group_reviewers**](docs/GroupsApi.md#set_group_reviewers) | **PUT** /groups/{group_id}/reviewers |
*GroupsApi* | [**set_group_visibility**](docs/GroupsApi.md#set_group_visibility) | **PUT** /groups/{group_id}/visibility |
*GroupsApi* | [**update_groups**](docs/GroupsApi.md#update_groups) | **PUT** /groups |
*IdpGroupMappingsApi* | [**delete_idp_group_mappings_by_app_resource_id_group_id**](docs/IdpGroupMappingsApi.md#delete_idp_group_mappings_by_app_resource_id_group_id) | **DELETE** /idp-group-mappings/{app_resource_id}/{group_id}/ |
*IdpGroupMappingsApi* | [**delete_idp_group_mappings**](docs/IdpGroupMappingsApi.md#delete_idp_group_mappings) | **DELETE** /idp-group-mappings/{app_resource_id}/{group_id}/ |
*IdpGroupMappingsApi* | [**get_idp_group_mappings**](docs/IdpGroupMappingsApi.md#get_idp_group_mappings) | **GET** /idp-group-mappings/{app_resource_id} |
*IdpGroupMappingsApi* | [**update_idp_group_mappings**](docs/IdpGroupMappingsApi.md#update_idp_group_mappings) | **PUT** /idp-group-mappings/{app_resource_id} |
*MessageChannelsApi* | [**create_message_channel**](docs/MessageChannelsApi.md#create_message_channel) | **POST** /message-channels |
Expand Down
6 changes: 4 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
email: hello@opal.dev
name: Opal Team
url: https://www.opal.dev/
description: Your Home For Developer Resources.
description: The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.
title: Opal API
version: "1.0"
servers:
Expand Down Expand Up @@ -1188,7 +1188,7 @@ paths:
/idp-group-mappings/{app_resource_id}/{group_id}/:
delete:
description: Deletes an `IdpGroupMapping` object.
operationId: delete_idp_group_mappings_by_app_resource_ID_group_ID
operationId: delete_idp_group_mappings
parameters:
- description: The ID of the Okta app.
example: 4baf8423-db0a-4037-a4cf-f79c60cb67a5
Expand Down Expand Up @@ -4523,6 +4523,7 @@ components:
- OKTA_GROUP
- TAILSCALE_GROUP
- OPAL_GROUP
- OPAL_ACCESS_RULE
- AZURE_AD_SECURITY_GROUP
- AZURE_AD_MICROSOFT_365_GROUP
- CONNECTOR_GROUP
Expand Down Expand Up @@ -4554,6 +4555,7 @@ components:
- AZURE_SQL_MANAGED_DATABASE
- AZURE_USER_ASSIGNED_MANAGED_Identity
- AZURE_ENTRA_ID_ROLE
- AZURE_ENTERPRISE_APP
- CUSTOM
- CUSTOM_CONNECTOR
- GCP_ORGANIZATION
Expand Down
2 changes: 2 additions & 0 deletions docs/GroupTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ The type of the group.

* `OPAL_GROUP` (value: `'OPAL_GROUP'`)

* `OPAL_ACCESS_RULE` (value: `'OPAL_ACCESS_RULE'`)

* `AZURE_AD_SECURITY_GROUP` (value: `'AZURE_AD_SECURITY_GROUP'`)

* `AZURE_AD_MICROSOFT_365_GROUP` (value: `'AZURE_AD_MICROSOFT_365_GROUP'`)
Expand Down
10 changes: 5 additions & 5 deletions docs/IdpGroupMappingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *https://api.opal.dev/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_idp_group_mappings_by_app_resource_id_group_id**](IdpGroupMappingsApi.md#delete_idp_group_mappings_by_app_resource_id_group_id) | **DELETE** /idp-group-mappings/{app_resource_id}/{group_id}/ |
[**delete_idp_group_mappings**](IdpGroupMappingsApi.md#delete_idp_group_mappings) | **DELETE** /idp-group-mappings/{app_resource_id}/{group_id}/ |
[**get_idp_group_mappings**](IdpGroupMappingsApi.md#get_idp_group_mappings) | **GET** /idp-group-mappings/{app_resource_id} |
[**update_idp_group_mappings**](IdpGroupMappingsApi.md#update_idp_group_mappings) | **PUT** /idp-group-mappings/{app_resource_id} |


# **delete_idp_group_mappings_by_app_resource_id_group_id**
> delete_idp_group_mappings_by_app_resource_id_group_id(app_resource_id, group_id)
# **delete_idp_group_mappings**
> delete_idp_group_mappings(app_resource_id, group_id)



Expand Down Expand Up @@ -51,9 +51,9 @@ with opal_security.ApiClient(configuration) as api_client:
group_id = '4baf8423-db0a-4037-a4cf-f79c60cb67a5' # str | The ID of the group.

try:
api_instance.delete_idp_group_mappings_by_app_resource_id_group_id(app_resource_id, group_id)
api_instance.delete_idp_group_mappings(app_resource_id, group_id)
except Exception as e:
print("Exception when calling IdpGroupMappingsApi->delete_idp_group_mappings_by_app_resource_id_group_id: %s\n" % e)
print("Exception when calling IdpGroupMappingsApi->delete_idp_group_mappings: %s\n" % e)
```


Expand Down
2 changes: 2 additions & 0 deletions docs/ResourceTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ The type of the resource.

* `AZURE_ENTRA_ID_ROLE` (value: `'AZURE_ENTRA_ID_ROLE'`)

* `AZURE_ENTERPRISE_APP` (value: `'AZURE_ENTERPRISE_APP'`)

* `CUSTOM` (value: `'CUSTOM'`)

* `CUSTOM_CONNECTOR` (value: `'CUSTOM_CONNECTOR'`)
Expand Down
2 changes: 1 addition & 1 deletion opal_security/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/apps_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/configuration_templates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/events_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/group_bindings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/groups_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
22 changes: 11 additions & 11 deletions opal_security/api/idp_group_mappings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down Expand Up @@ -41,7 +41,7 @@ def __init__(self, api_client=None) -> None:


@validate_call
def delete_idp_group_mappings_by_app_resource_id_group_id(
def delete_idp_group_mappings(
self,
app_resource_id: Annotated[StrictStr, Field(description="The ID of the Okta app.")],
group_id: Annotated[StrictStr, Field(description="The ID of the group.")],
Expand All @@ -58,7 +58,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> None:
"""delete_idp_group_mappings_by_app_resource_id_group_id
"""delete_idp_group_mappings

Deletes an `IdpGroupMapping` object.

Expand Down Expand Up @@ -88,7 +88,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id(
:return: Returns the result object.
""" # noqa: E501

_param = self._delete_idp_group_mappings_by_app_resource_id_group_id_serialize(
_param = self._delete_idp_group_mappings_serialize(
app_resource_id=app_resource_id,
group_id=group_id,
_request_auth=_request_auth,
Expand All @@ -112,7 +112,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id(


@validate_call
def delete_idp_group_mappings_by_app_resource_id_group_id_with_http_info(
def delete_idp_group_mappings_with_http_info(
self,
app_resource_id: Annotated[StrictStr, Field(description="The ID of the Okta app.")],
group_id: Annotated[StrictStr, Field(description="The ID of the group.")],
Expand All @@ -129,7 +129,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[None]:
"""delete_idp_group_mappings_by_app_resource_id_group_id
"""delete_idp_group_mappings

Deletes an `IdpGroupMapping` object.

Expand Down Expand Up @@ -159,7 +159,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_with_http_info(
:return: Returns the result object.
""" # noqa: E501

_param = self._delete_idp_group_mappings_by_app_resource_id_group_id_serialize(
_param = self._delete_idp_group_mappings_serialize(
app_resource_id=app_resource_id,
group_id=group_id,
_request_auth=_request_auth,
Expand All @@ -183,7 +183,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_with_http_info(


@validate_call
def delete_idp_group_mappings_by_app_resource_id_group_id_without_preload_content(
def delete_idp_group_mappings_without_preload_content(
self,
app_resource_id: Annotated[StrictStr, Field(description="The ID of the Okta app.")],
group_id: Annotated[StrictStr, Field(description="The ID of the group.")],
Expand All @@ -200,7 +200,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_without_preload_conten
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""delete_idp_group_mappings_by_app_resource_id_group_id
"""delete_idp_group_mappings

Deletes an `IdpGroupMapping` object.

Expand Down Expand Up @@ -230,7 +230,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_without_preload_conten
:return: Returns the result object.
""" # noqa: E501

_param = self._delete_idp_group_mappings_by_app_resource_id_group_id_serialize(
_param = self._delete_idp_group_mappings_serialize(
app_resource_id=app_resource_id,
group_id=group_id,
_request_auth=_request_auth,
Expand All @@ -249,7 +249,7 @@ def delete_idp_group_mappings_by_app_resource_id_group_id_without_preload_conten
return response_data.response


def _delete_idp_group_mappings_by_app_resource_id_group_id_serialize(
def _delete_idp_group_mappings_serialize(
self,
app_resource_id,
group_id,
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/message_channels_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/non_human_identities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/on_call_schedules_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/owners_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/requests_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/resources_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/sessions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/tags_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/uars_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api/users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/models/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
2 changes: 1 addition & 1 deletion opal_security/models/access_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
Opal API

Your Home For Developer Resources.
The Opal API is a RESTful API that allows you to interact with the Opal Security platform programmatically.

The version of the OpenAPI document: 1.0
Contact: hello@opal.dev
Expand Down
Loading