Objects Configuration Objects
Table of Contents
- Overview
- Address Objects
- Service Objects
- Application Objects
- Group Objects
- Profile Objects
- Miscellaneous Objects
Overview
This section covers the configuration objects provided by the Palo Alto Networks Strata Cloud Manager SDK. Each configuration object corresponds to a resource in the Strata Cloud Manager and provides methods for CRUD (Create, Read, Update, Delete) operations.
Address Objects
- Address - IP addresses, ranges, and FQDNs for use in security policies
- Address Group - Collections of addresses for simplified policy management
Service Objects
- Service - Port and protocol definitions for network service access
- Service Group - Collections of services for simplified policy management
Application Objects
- Application - Custom application definitions for fine-grained control
- Application Filters - Filters to identify applications based on characteristics
- Application Group - Collections of applications for simplified policy management
Group Objects
- Dynamic User Group - User groups based on dynamic membership criteria
- External Dynamic Lists - Lists of IPs, URLs, or domains from external sources
Profile Objects
- HIP Object - Host Information Profile objects for endpoint matching
- HIP Profile - Host Information Profile definitions for security policy enforcement
- HTTP Server Profiles - HTTP server configurations for log forwarding
- Log Forwarding Profile - Profiles for forwarding logs to external systems
Miscellaneous Objects
- Tag - Tags for resource organization and policy application
Common Features
All configuration objects provide standard operations:
- Create new objects
- Read existing objects
- Update object properties
- Delete objects
- List and filter objects with pagination support
The objects also enforce:
- Container validation (folder/device/snippet)
- Data validation with detailed error messages
- Consistent API patterns across all object types
Usage Example
from scm.client import ScmClient
# Initialize clientclient = ScmClient(
client_id="your_client_id",
client_secret="your_client_secret",
tsg_id="your_tsg_id"
)
# Access any object type directly through the client# Create an address objectclient.address.create({
"name": "webserver",
"ip_netmask": "10.0.1.100",
"description": "Primary web server",
"folder": "Shared"
})
# List address objects with filteringresults = client.address.list(
folder="Shared",
exact_match=True
)
# Print the resultsfor address in results:
print(f"Address: {address.name}, Value: {address.ip_netmask}")
# Initialize clientclient = ScmClient(
client_id="your_client_id",
client_secret="your_client_secret",
tsg_id="your_tsg_id"
)
# Access any object type directly through the client# Create an address objectclient.address.create({
"name": "webserver",
"ip_netmask": "10.0.1.100",
"description": "Primary web server",
"folder": "Shared"
})
# List address objects with filteringresults = client.address.list(
folder="Shared",
exact_match=True
)
# Print the resultsfor address in results:
print(f"Address: {address.name}, Value: {address.ip_netmask}")
Select an object from the sections above to view detailed documentation, including methods, parameters, and examples.