-
Notifications
You must be signed in to change notification settings - Fork 62
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
[FEATURE] Add specs for security
namespace
#233
Labels
enhancement
New feature or request
Comments
nhtruong
added
enhancement
New feature or request
untriaged
and removed
untriaged
labels
Apr 11, 2024
Expand to see Opensearch-Security supported APIs:### Auth Info (/_plugins/_security, /_opendistro/_security)
- GET `/authinfo`
- POST `/authinfo`
### Account (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/account`
- PUT `/account`
### Action Group (/_plugins/_security/api, /_opendistro/_security/api)
**Legacy:**
- GET `/actiongroup/{name}`
- GET `/actiongroup`
- DELETE `/actiongroup/{name}`
- PUT `/actiongroup/{name}`
**Corrected in OpenSearch Security:**
- GET `/actiongroups/{name}`
- GET `/actiongroups`
- DELETE `/actiongroups/{name}`
- PUT `/actiongroups/{name}`
- PATCH `/actiongroups`
- PATCH `/actiongroups/{name}`
### Allowlist
- GET `/_plugins/_security/api/allowlist`
- PUT `/_plugins/_security/api/allowlist`
- PATCH `/_plugins/_security/api/allowlist`
### Audit (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/audit`
- PUT `/audit/config`
- PATCH `/audit`
### Auth Token (/_plugins/_security/api, /_opendistro/_security/api)
- POST `/authtoken`
### Upgrade (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/_upgrade_check`
- POST `/_upgrade_perform`
### Cache (/_plugins/_security/api, /_opendistro/_security/api)
- DELETE `/cache`
- GET `/cache`
- PUT `/cache`
- POST `/cache`
### User/Internal Users (/_plugins/_security/api, /_opendistro/_security/api)
**Legacy:**
- GET `/user/{name}`
- GET `/user`
- POST `/user/{name}/authtoken`
- DELETE `/user/{name}`
- PUT `/user/{name}`
**Corrected in OpenSearch Security:**
- GET `/internalusers/{name}`
- GET `/internalusers`
- POST `/internalusers/{name}/authtoken`
- DELETE `/internalusers/{name}`
- PUT `/internalusers/{name}`
- PATCH `/internalusers`
- PATCH `/internalusers/{name}`
### Migration (/_plugins/_security/api, /_opendistro/_security/api)
- POST `/migrate`
### Tenancy Config (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/tenancy/config`
- PUT `/tenancy/config`
### Node SDN (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/nodesdn/{name}`
- GET `/nodesdn`
- DELETE `/nodesdn/{name}`
- PUT `/nodesdn/{name}`
- PATCH `/nodesdn`
- PATCH `/nodesdn/{name}`
### Permissions Info (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/permissionsinfo`
### Roles (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/roles`
- GET `/roles/{name}`
- DELETE `/roles/{name}`
- PUT `/roles/{name}`
- PATCH `/roles`
- PATCH `/roles/{name}`
### Roles Mapping (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/rolesmapping`
- GET `/rolesmapping/{name}`
- DELETE `/rolesmapping/{name}`
- PUT `/rolesmapping/{name}`
- PATCH `/rolesmapping`
- PATCH `/rolesmapping/{name}`
### Security Config (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/securityconfig`
- PATCH `/securityconfig`
- PUT `/securityconfig/config`
### SSL Certs (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/ssl/certs`
- PUT `/ssl/{certType}/reloadcerts`
### Tenants (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/tenants/{name}`
- GET `/tenants`
- DELETE `/tenants/{name}`
- PUT `/tenants/{name}`
- PATCH `/tenants`
- PATCH `/tenants/{name}`
### Validate (/_plugins/_security/api, /_opendistro/_security/api)
- GET `/validate`
### Dashboards Info (/_plugins/_security)
- GET `/dashboardsinfo`
- POST `/dashboardsinfo`
### Kibana Info (/_opendistro/_security)
- GET `/kibanainfo`
- POST `/kibanainfo`
### Health (/_plugins/_security, /_opendistro/_security)
- GET `/health`
- POST `/health`
### Who Am I (/_plugins/_security)
- GET `/whoami`
- POST `/whoami`
- GET `/whoamiprotected` (protected by security)
### Tenant Info (/_plugins/_security, /_opendistro/_security)
- GET `/tenantinfo`
- POST `/tenantinfo`
### SSL Info
- GET `/_opendistro/_security/sslinfo`
|
@DarshitChanpura The AuthInfo component has arrays defined but no items. Is this expected? |
good catch.. these should have items present and they should be of string type. Let me fix that. Update: #420 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Part of Adding missing API specs issue
The text was updated successfully, but these errors were encountered: