Comments (6)
I believe you have to iterate over the compartments to get all of the events for a tenancy. You can use list_compartments in the identity client to get all of the compartments for the tenancy.
from oci-python-sdk.
Reopening the ticket to give the service team an opportunity to comment.
from oci-python-sdk.
@arthall I did iterate over the compartments to get all of the events for a tenancy. there are only modify,post,add,delete operation events based on comparments. there is no login/loginout events here
from oci-python-sdk.
Agreed. I changed the system root password on one of my test instances and searched for the change in the audit logs
from oci-python-sdk.
- Login events from the webconsole are audited with events 'InteractiveLogin' for successful logins from native OCI users and 'FederatedInteractiveLoginAttempt' for requests that get redirected to an external Identity Provider for authentication (for federated users).
- Logout events are not audited. It is a client-only action of clearing the session.
- There is no API to cause a 'login' or a 'logout' event since SDK access has no concept of client sessions
- Please refer to https://docs.cloud.oracle.com/iaas/Content/Audit/Tasks/viewinglogevents.htm for viewing event logs or using the ListEvents API to enumerate logs: https://docs.cloud.oracle.com/api/#/en/audit/20160918/AuditEvent/ListEvents
- ListEvents API allows filtering events based on startTime and endTime and you can filter it further on the client if you want events with a specific event name.
from oci-python-sdk.
There hasn't been any activity on this ticket in months and @girinag explained how to get the get the login audit logs and why there aren't any logout events. Please reopen the ticket if there are unaddressed concerns.
from oci-python-sdk.
Related Issues (20)
- audit trails in datasafe library fails to return HOT 5
- how to get the resource state in the tenancy HOT 11
- Regression: installation of oci 2.118.1 requires GCC and Python headers which are not available in all environments HOT 7
- Support Async HOT 1
- Cryptography security vulnerabilities CVE-2023-50782, CVE-2023-5678, CVE-2023-6129, CVE-2023-6237 HOT 6
- IDCS Users and group repot aren't generating fully HOT 3
- MissingHeaderBodySeparatorDefect when uploading items to OSS HOT 5
- oci module component is treated as a dictionary object HOT 5
- oci.pagination.list_call_get_all_results fails when using identity domain client HOT 2
- Missing Composite Operations for Identity Domains
- Generate bypass code with python OCI HOT 2
- Packaging Metadata: Classifiers specify as supported already dead python and not mark modern versions HOT 1
- showoci stuck while running for all resources HOT 3
- resource name not getting cost analysis (Usageapi cllent) HOT 13
- Private IP addresses for the db_nodes in ExaCS is not the correct one HOT 21
- problems running in CLI OCI HOT 3
- metrics are geting 429 error when we calling the api filter maximum , minimum and average metrics HOT 6
- Issue with accessing oci.container_instances.ContainerInstanceClient response data HOT 2
- volume backups are not getting all records in this list_volume_backups api call HOT 8
- Report with properties of PDBs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oci-python-sdk.