-
Notifications
You must be signed in to change notification settings - Fork 444
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
[salesforce] Implement setupaudittrail
data stream for Salesforce
#4356
[salesforce] Implement setupaudittrail
data stream for Salesforce
#4356
Conversation
🚀 Benchmarks reportTo see the full report comment with |
🌐 Coverage report
|
…to package_salesforce_setupaudittrail
…to package_salesforce_setupaudittrail
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
…to package_salesforce_setupaudittrail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…to package_salesforce_setupaudittrail
@SubhrataK , kindly review the dashboard layout |
@kush-elastic , kindly check if the pagination logic should be based on created date instead it must be on LogDate Reference : https://github.com/elastic/beats/pull/34065/files |
Not sure if the description is appropriate for the datastream in Readme.
Use of word 'you' can be avoided Not sure about the significance of 180 days here from the point of view of integration and continuous data fetch. Kindly revisit this taking the help of @SubhrataK |
packages/salesforce/data_stream/setupaudittrail/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/salesforce/data_stream/setupaudittrail/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/salesforce/data_stream/setupaudittrail/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/salesforce/data_stream/setupaudittrail/fields/fields.yml
Outdated
Show resolved
Hide resolved
@agithomas for setupaudittrail we don't have field called |
cursor: Is this then needed, if entire data is received in one go? If the reason is we don't get LogData field, then it is understandable that we can't use it. When create_date field is used, does the same problem that was encountered in login_rest and logout_rest arise? |
We need cursor as we are using the cursor value to query the next set of data: We are setting cursor value to |
Represents changes you or other admins made in your organization's Setup area for at least the last 180 days. Use of word 'you' can be avoided Please replace you with "users" everywhere. |
Sure @SubhrataK , Have updated As per the salesforce documentation it suggest that there is a possiblity of non admin (or other permission user) as well.
So removed the use of |
I am not sure about the part |
We have referred salesforce documentation and as per salesforce documentation Let me know if you still insist to remove it from the description we can remove it |
In my opinion, since this is mentioned in their official documentation, we should leave it as it is. In case of a change in the frequency/interval, the changes will likely be available in a new API version, which we will have to certify again at that point. |
The question is not about salesforce capability . The question is - on enabling salesforce integration, will the data as old as 180 days be fetched in the initial run? |
Yes, on enabling salesforce integration, the data as old as 180 days will be fetched in the initial run if it is present on the salesforce instance. if not it will only fetch the available data at the instance. We have tried configuring the fresh policy and have successfully collected data as old as 180 days. |
…to package_salesforce_setupaudittrail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM
Package salesforce - 0.4.0 containing this change is available at https://epr.elastic.co/search?package=salesforce |
What does this PR do?
setupaudittrail
)Checklist
changelog.yml
file.manifest.yml
file to point to the latest Elastic stack release (e.g.^7.13.0
).How to test this PR locally