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

doc: rest endpoint permissions #3359

Merged
merged 8 commits into from
Dec 6, 2024
Merged

doc: rest endpoint permissions #3359

merged 8 commits into from
Dec 6, 2024

Conversation

rahulguptajss
Copy link
Contributor

@rahulguptajss rahulguptajss commented Dec 5, 2024

The following permissions are still missing. These are ONTAP gaps/bugs.

harvest2-role

time=2024-12-05T17:24:07.132+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:Support error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/support/autosupport?fields=enabled%2Cis_minimal%2Ctransport&ignore_unknown_fields=true&max_records=500&return_records=true" task=data

harvest-rest-role

time=2024-12-05T17:29:27.505+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:SnapshotPolicy error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/private/cli/snapshot/policy?fields=comment%2Cpolicy%2Ctotal_schedules%2Cvserver&ignore_unknown_fields=true&max_records=500&return_records=true" task=data
time=2024-12-05T17:29:27.560+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:Support error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/support/autosupport?fields=enabled%2Cis_minimal%2Ctransport&ignore_unknown_fields=true&max_records=500&return_records=true" task=data

@cla-bot cla-bot bot added the cla-signed label Dec 5, 2024
@rahulguptajss rahulguptajss marked this pull request as draft December 5, 2024 12:11
@rahulguptajss rahulguptajss marked this pull request as ready for review December 5, 2024 12:54
@rahulguptajss rahulguptajss marked this pull request as draft December 5, 2024 14:30
@rahulguptajss rahulguptajss marked this pull request as ready for review December 6, 2024 12:38
@rahulguptajss
Copy link
Contributor Author

The following permissions are still missing:

harvest2-role

time=2024-12-05T17:24:07.132+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:Support error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/support/autosupport?fields=enabled%2Cis_minimal%2Ctransport&ignore_unknown_fields=true&max_records=500&return_records=true" task=data

harvest-rest-role

time=2024-12-05T17:29:27.505+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:SnapshotPolicy error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/private/cli/snapshot/policy?fields=comment%2Cpolicy%2Ctotal_schedules%2Cvserver&ignore_unknown_fields=true&max_records=500&return_records=true" task=data time=2024-12-05T17:29:27.560+05:30 level=ERROR source=collector.go:422 msg="Entering standby mode" Poller=dc-1 collector=Rest:Support error="failed to fetch data: error making request StatusCode: 403, Error: Permission denied, Message: not authorized for that command, API: /api/support/autosupport?fields=enabled%2Cis_minimal%2Ctransport&ignore_unknown_fields=true&max_records=500&return_records=true" task=data

These errors are skipped in CI to ensure that any new errors related to permissions are detected.

@rahulguptajss rahulguptajss merged commit 083cccd into main Dec 6, 2024
9 checks passed
@rahulguptajss rahulguptajss deleted the rg2-rest-doc branch December 6, 2024 15:28
@rahulguptajss rahulguptajss mentioned this pull request Dec 18, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants