Skip to content

Commit

Permalink
Add Apache License for azure cloud fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
wenli200133 committed Feb 8, 2023
1 parent dd932ac commit 1693a53
Show file tree
Hide file tree
Showing 11 changed files with 131 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arboretum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
"""Arboretum - Checking your compliance & security posture, continuously."""

__version__ = "0.16.1"
__version__ = "0.17.0"
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud fetchers, checks, and harvest reports."""
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/checks/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud validation checks."""
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/evidences/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud evidence helper modules/classes."""
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/fetchers/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud evidence gathering fetchers."""
14 changes: 13 additions & 1 deletion arboretum/azure_cloud/fetchers/azure_constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Common Azure constants."""

# AZURE management resource base url
AZURE_MANAGEMENT_BASE_URL = "https://management.azure.com/"
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/fetchers/common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Common utils."""

import requests
Expand Down
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/fetchers/fetch_assessments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud assessment fetcher API.
docs https://docs.microsoft.com/en-us/rest/api/
Expand Down
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/fetchers/fetch_assessments_metadata.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud assessment metadata fetcher API."""

import json
Expand Down
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/fetchers/fetch_sub_assessments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud sub assessment fetcher API.
docs https://docs.microsoft.com/en-us/rest/api/
Expand Down
13 changes: 13 additions & 0 deletions arboretum/azure_cloud/reports/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Copyright (c) 2023 EnterpriseDB Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# 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.
"""Azure Cloud harvest reports and templates."""

0 comments on commit 1693a53

Please sign in to comment.