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

Oracle Database Auditor: Workbooks with not results #9987

Closed
gmarmolejos opened this issue Feb 19, 2024 · 15 comments
Closed

Oracle Database Auditor: Workbooks with not results #9987

gmarmolejos opened this issue Feb 19, 2024 · 15 comments
Assignees
Labels
Workbook Workbook specialty review needed

Comments

@gmarmolejos
Copy link

Describe the bug
Oracle Database Auditor doesn't bring information about Oracle Database Table Queried and User' Privileges. It only shows the query returned no results

To Reproduce
Steps to reproduce the behavior:

Active Oracle Database Audit.
Enable Syslog in Linux Server.
Wait until Sentinel get the data.

Expected behavior
To be fair all the information are shows but those two. It's possible to modify the query to receive these information or why is in the workbook's sample these information?
If i try to execute use it the TableName object doesn't work either.

i create this issue previously here:
#9602

it was closed because i didn't provide the information requested during the expected time.

Here is:

The return information is very sensitive to us, but i'm going to share the first two row each and hide the real data. Although i receive information from both queries.

OracleDatabaseAuditEvent | where isnotempty(DstUserName)| summarize TotalEvents = count() by DstUserName| order by TotalEvents| take 2

image

OracleDatabaseAuditEvent | where isnotempty(SrcUserName)| summarize TotalEvents = count() by SrcUserName

image

The case was seeing by the user:

v-muuppugund (thanks for the help). i'm very grateful

@gmarmolejos
Copy link
Author

OracleDatabaseAuditEvent | where isnotempty(DstUserName)| summarize TotalEvents = count() by DstUserName| order by TotalEvents| take 2

image

OracleDatabaseAuditEvent | where isnotempty(SrcUserName)| summarize TotalEvents = count() by SrcUserName

image

@v-sudkharat v-sudkharat added the Workbook Workbook specialty review needed label Feb 20, 2024
@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos , Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 27Feb24. Thanks!

@v-muuppugund
Copy link
Contributor

v-muuppugund commented Feb 28, 2024

Hi @gmarmolejos ,Have couple of questions after running the above queries ,we have results then work book should have results,What is the issue,could you please explain the issue in detail with screen shots.

@gmarmolejos
Copy link
Author

Hi @v-muuppugund.

The issue is in the workbooks oracle database audit, i don't have no value in the database tables queried as well users's privileges. This two are empty.

@gmarmolejos
Copy link
Author

I kept the same queries in both tables. I supposed it's the default one and nothing. No value, only empty.

@v-sudkharat
Copy link
Contributor

@gmarmolejos, thank you for your response, we will check on it and get back to you by some updates. Thanks!

@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos ,Will be working on the setup,will post you updates

@v-muuppugund
Copy link
Contributor

v-muuppugund commented Mar 15, 2024

Hi @gmarmolejos ,Working on Oracle set up in VM will verify the results,will update you,Mean while could you please share data of OracleDatabaseAuditEvent to v-muuppugund@microsoft.com,will do analysis on data also.

@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos ,Gentle reminder,Working on Oracle set up in VM will verify the results,will update you,Mean while could you please share data of OracleDatabaseAuditEvent to v-muuppugund@microsoft.com,will do analysis on data also.

@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos, I have facing issue with logging data in to logs from oracle and am working on it
image
image
,Gentle reminder, Mean while could you please share data of OracleDatabaseAuditEvent to v-muuppugund@microsoft.com,will do analysis on data also.

@gmarmolejos
Copy link
Author

gmarmolejos commented Apr 1, 2024

Hi @v-muuppugund , i'm very sorry fot this very late response. The work keep me very busy.

It's possible to share only one or two records o is it possible to know what kind the information do you need to help me? The problem is that this information is very sensitve and critical in my work. it's reveals too much information of my infrastructure

@v-sudkharat
Copy link
Contributor

Hey @gmarmolejos, you can share the sample data after running the parser: - https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/OracleDatabaseAudit/Parsers/OracleDatabaseAuditEvent.yaml
And you can also replace the values in result to keep your data as secure.
Thanks!

@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos ,I am able to resolve the logging issue and will share the work book results with you in some time
image

@v-muuppugund
Copy link
Contributor

Hi @gmarmolejos ,We need to modify the query and added the query below

Syslog
| where SyslogMessage contains "Unified Audit" and ProcessName == "Oracle" and SyslogMessage contains "DBUSER"
| summarize count()
or respective db user we can select users from syslog message

Please find below screen shot for reference
image

@v-muuppugund
Copy link
Contributor

v-muuppugund commented Apr 11, 2024

Hi @gmarmolejos ,I have raised PR (#10273) for the same for the above changes and closing the issue (#9987) as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Workbook Workbook specialty review needed
Projects
None yet
Development

No branches or pull requests

3 participants