added feature flag collection
This commit is contained in:
parent
acf9a68430
commit
545129c8a5
@ -1,4 +1,4 @@
|
|||||||
[ipsecconnectors1]
|
[panfwservices1.txt]
|
||||||
cxp = US-EAST-2
|
cxp = US-EAST-2
|
||||||
segments = Prod
|
segments = Prod
|
||||||
group = Development
|
group = Development
|
||||||
|
7
get.py
7
get.py
@ -128,6 +128,13 @@ tenantName = data[0]['name']
|
|||||||
logging.info(f'Tenant Name: {tenantName}')
|
logging.info(f'Tenant Name: {tenantName}')
|
||||||
logging.info(f'Tenant ID: {tenantNetworkId}')
|
logging.info(f'Tenant ID: {tenantNetworkId}')
|
||||||
|
|
||||||
|
# Get feature flags
|
||||||
|
logging.info('=== Collecting Feature Flags')
|
||||||
|
r = alkira_get(s, f'/tenantenabledfeatures')
|
||||||
|
data = r.json()
|
||||||
|
print('# Credentials')
|
||||||
|
print(json.dumps(data, indent=4))
|
||||||
|
|
||||||
# Get credentials
|
# Get credentials
|
||||||
logging.info('=== Collecting Credentials')
|
logging.info('=== Collecting Credentials')
|
||||||
r = alkira_get(s, f'/credentials')
|
r = alkira_get(s, f'/credentials')
|
||||||
|
Loading…
Reference in New Issue
Block a user