Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-sdk #11

Merged
merged 18 commits into from
Dec 15, 2024
Merged

update-sdk #11

merged 18 commits into from
Dec 15, 2024

Conversation

cdot65
Copy link
Owner

@cdot65 cdot65 commented Dec 15, 2024

Checklist for This Pull Request

🚨Please adhere to the guidelines for contributing to this repository.

  • Ensure you are submitting your pull request to a branch dedicated to a specific topic/feature/bugfix. Avoid using the master branch for pull requests.
  • Target your pull request to the main development branch in this repository.
  • Ensure your commit messages follow the project's preferred format.
  • Check that your code additions do not fail any linting checks or unit tests.

Pull Request Description

Complete overhaul, using the pan-scm-sdk SDK from here on out

What does this pull request accomplish?

  • Feature addition
  • Performance improvement
  • Refactoring
  • Documentation update

Are there any breaking changes included?

  • Yes
  • No

Is there anything the reviewers should know?

Thank you for your contributions!

cdot65 added 18 commits December 7, 2024 20:22
This commit deletes the scripts responsible for cloning address groups and security profile groups, along with their helper functions. The related code in `clone_address_groups.py`, `clone_security_profile_groups.py`, and `helpers.py` has been removed. Additionally, updates to `poetry.lock` reflect changes in dependencies, ensuring compatibility with existing packages.
Add entries to .gitignore for IntelliJ IDEA-specific configuration files to prevent them from being tracked in the repository. This ensures that environment-specific settings remain local and do not affect team members collaborating on the same project.
Updated the authentication file creation message to dynamically reflect the name of the output file, enhancing clarity for the user. Removed redundant `token_url` entries from the settings utility as they were not utilized in the destination and source SCM configurations, thereby simplifying the code.
Enhanced logging by displaying detailed debug information during source authentication and corrected the credential key from 'tsg_id' to 'tenant' for better clarity. This change ensures more accurate logging and aligns the code with the actual structure of the credential data.
Extracted `parse_csv_option` into a new `utilities/parse_csv.py` module for better reusability and modularity. Updated imports in affected files to reflect this change. This improves code organization and reduces duplication.
Simplified CLI flag names, updated Docstrings for clarity, and enhanced error handling in tag creation logic. Added a `build_create_params` helper for cleaner parameter construction and streamlined CSV parsing and settings overrides.
Moved create_settings_file to the utilities directory for better organization. Updated imports accordingly to reflect the new location. Added address_groups to the module imports for improved object handling.
Introduce a new command for cloning address groups from a source to a destination SCM tenant. This includes retrieving, filtering, and creating address group objects, with options for dry-run, auto-approve, and reporting. Updated `main.py` to register the new command in the CLI.
Adjusted the filename to ensure consistency with naming conventions. This change helps maintain uniformity across the codebase.
Introduced functionality to clone application objects from a source SCM tenant to a destination SCM tenant. Updated main CLI file to include the new "applications" command. Refactored imports and added necessary documentation for proper usage.
Introduced functionality to clone application filters between SCM tenants, including exclusion options and configurable settings. Updated CLI commands and integrated the new `application_filters` module for end-to-end cloning workflows.
Introduced functionality to clone application group objects from a source SCM tenant to a destination SCM tenant. This includes a new `application_groups` command and the underlying logic to handle retrieval, filtering, creation, and optional commit operations for application groups.
Introduced a new command to clone external dynamic lists between SCM tenants. This includes authentication, retrieval, filtering, and object creation functionalities, as well as optional commit and reporting features.
Introduce commands to clone "service" and "service group" objects in the CLI, enabling retrieval from a source tenant and creation in a destination tenant. Includes features like filtering, auto-confirmation, dry-run, reporting, and commit options.
This commit introduces functionality for cloning decryption profiles, DNS security profiles, and security rules, along with their integration into the CLI. It enables automated retrieval, validation, and creation of these profiles across tenants, ensuring streamlined operations.
Deleted all Docker-related documentation files, including installation, commands, examples, getting started, and troubleshooting guides. Updated the remaining Python-specific documentation to reflect changes and streamline usage instructions.
Updated `pyproject.toml` to reflect the new version (0.2.1). Added release notes for version 0.2.1, detailed README enhancements, and streamlined documentation structure for better clarity and usability.
@cdot65 cdot65 merged commit 3b46740 into main Dec 15, 2024
1 check passed
@cdot65 cdot65 deleted the update-sdk branch December 15, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant