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

SUP-1712-aqua-toolkit-datachange2 #557

Closed
wants to merge 1 commit into from

Conversation

effany
Copy link
Contributor

@effany effany commented Oct 3, 2024

Currently we're gettin toekn from response json data -> token.

Per postman response, the token has now been moved to the upper level. Causing the toolkit task fail on token not found
Making this line change to accommodate the data change

The response from postman:

RESPONSE:
{
"token": "REDACTED",
"user": {
"id": "REDACTED",
"name": "Vulnerability Management API",
"first_time": false,
"is_super": false,
"ui_access": false,
"actions": {},
"scopes": [
"Global"
],
"last_login": 0,
"last_login_formatted": "",
"role": "API View Only Role",
"roles": [
"API View Only Role"
],
"type": "Aqua",
"plan": "",
"enabled": true,
"last_notification": {
"Time": "0001-01-01T00:00:00Z",
"Valid": false
},
"password_expiration": {
"Time": "2024-09-04T00:00:00Z",
"Valid": true
},
"password_expired": true,
"show_notification": true
},
"license_type": "Standard",
"license": {
"type": "",
"organization": "",
"account_id": "",
"client_name": "",
"name": "",
"email": "",
"num_agents": 0,
"num_microenforcers": 0,
"num_hostenforcers": 0,
"num_images": 0,
"num_functions": 0,
"num_advanced_functions": 0,
"num_pas": 0,
"num_code_repositories": 0,
"license_issue_date": 0,
"license_exp_date": 0,
"non_prod": false,
"approved": false,
"external_token": "",
"strict": false,
"level": "",
"vpatch": false,
"vpatch_coverage": 0,
"malware_protection": false,
"tier": "",
"agents_running": 0,
"images_scanned": 0,
"num_protected_kube_nodes": 0
}
}

@effany effany closed this Oct 10, 2024
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