GithubHelp home page GithubHelp logo

Comments (6)

arthall avatar arthall commented on August 13, 2024

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.

arthall avatar arthall commented on August 13, 2024

Reopening the ticket to give the service team an opportunity to comment.

from oci-python-sdk.

vipmike007 avatar vipmike007 commented on August 13, 2024

@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.

manjushp avatar manjushp commented on August 13, 2024

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.

girinag avatar girinag commented on August 13, 2024
  • 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.

arthall avatar arthall commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.