-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
adf633d
commit 647da0f
Showing
16 changed files
with
740 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
packages/go/openapi/src/paths/domains.domains.id.computers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityComputers | ||
summary: Get domain entity computers | ||
description: Get a list or count of the computers that belong to this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
45 changes: 45 additions & 0 deletions
45
packages/go/openapi/src/paths/domains.domains.id.controllers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityControllers | ||
summary: Get domain entity controllers | ||
description: Get a list, graph, or count of the principals that can control this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
45 changes: 45 additions & 0 deletions
45
packages/go/openapi/src/paths/domains.domains.id.dc-syncers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityDcSyncers | ||
summary: Get domain entity DC Syncers | ||
description: Get a list, graph, or count of the principals that can DC sync this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
47 changes: 47 additions & 0 deletions
47
packages/go/openapi/src/paths/domains.domains.id.foreign-admins.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityForeignAdmins | ||
summary: Get domain entity foreign admins | ||
description: | | ||
Get a list, graph, or count of the principals outside of this domain that have admin | ||
rights on principals in this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
47 changes: 47 additions & 0 deletions
47
packages/go/openapi/src/paths/domains.domains.id.foreign-gpo-controllers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityForeignGpoControllers | ||
summary: Get domain entity foreign GPO controllers | ||
description: | | ||
Get a list, graph, or count of the principals outside of this domain that can control | ||
GPOs inside this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
47 changes: 47 additions & 0 deletions
47
packages/go/openapi/src/paths/domains.domains.id.foreign-groups.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityForeignGroups | ||
summary: Get domain entity foregin groups | ||
description: | | ||
Get a list, graph, or count of the groups outside of this domain that are members | ||
of groups inside this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
47 changes: 47 additions & 0 deletions
47
packages/go/openapi/src/paths/domains.domains.id.foreign-users.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2024 Specter Ops, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
parameters: | ||
- $ref: './../parameters/header.prefer.yaml' | ||
- $ref: './../parameters/path.object-id.yaml' | ||
get: | ||
operationId: GetDomainEntityForeignUsers | ||
summary: Get domain entity foreign users | ||
description: | | ||
Get a list, graph, or count of the users outside of this domain that are members | ||
of groups inside this domain. | ||
tags: | ||
- Domains | ||
- Community | ||
- Enterprise | ||
parameters: | ||
- $ref: './../parameters/query.entity.skip.yaml' | ||
- $ref: './../parameters/query.entity.limit.yaml' | ||
- $ref: './../parameters/query.entity.type.yaml' | ||
- $ref: './../parameters/query.entity.sort-by.yaml' | ||
responses: | ||
200: | ||
$ref: './../responses/related-entity-query-results.yaml' | ||
400: | ||
$ref: './../responses/bad-request.yaml' | ||
401: | ||
$ref: './../responses/unauthorized.yaml' | ||
403: | ||
$ref: './../responses/forbidden.yaml' | ||
429: | ||
$ref: './../responses/too-many-requests.yaml' | ||
500: | ||
$ref: './../responses/internal-server-error.yaml' |
Oops, something went wrong.