-
Notifications
You must be signed in to change notification settings - Fork 503
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
Add documentation that supports custom log types #4969
Conversation
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
@sbcd90 @amsiglan Could you look at this documentation for custom log types? I also have a few questions about the "Search custom log types" API:
Thank you. |
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Signed-off-by: cwillum <[email protected]>
Will create a separate PR to address "Search custom log type API" questions. Pushing this to Documentation team review. (this was tech reviewed via direct communications) |
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.
A couple of small questions, otherwise LGTM.
After selecting **Create log type** in the **Log types** page, the **Create log type** page opens and provides the necessary fields to create a new log type: | ||
1. Enter a name for the log type. | ||
|
||
The log type name supports characters a-z (lower case), 0--9, hyphens, and underscores. |
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.
Does this note format correctly?
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.
It does.
@@ -69,7 +69,7 @@ Although the ECS rule field names are largely self-explanatory, you can find pre | |||
|
|||
[Amazon Security Lake](https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html) converts security log and event data to the [Open Cybersecurity Schema Framework](https://docs.aws.amazon.com/security-lake/latest/userguide/open-cybersecurity-schema-framework.html) (OCSF) to normalize combined data and facilitate its management. OpenSearch supports ingestion of log data from Security Lake in the OCSF format, and Security Analytics can automatically map fields from OCSF to ECS (the default field-mapping schema). | |||
|
|||
The Security Lake log types that can be used as log sources for detector creation include CloudTrail, Route 53, and VPC Flow. Given that Route 53 is a log that captures DNS activity, its log type should be specified as **DNS logs** when [defining a detector](#step-1-define-a-detector). Furthermore, because logs such as CloudTrail can conceivably be captured in both raw format and OCSF, it's good practice to name indexes in a way that keeps these logs separate and easily identifiable. This becomes helpful when specifying an index name in any of the APIs associated with Security Analytics. | |||
The Security Lake log types that can be used as log sources for detector creation include CloudTrail, Route 53, and VPC Flow. Given that Route 53 is a log that captures DNS activity, its log type should be specified as **dns** when [defining a detector](#step-1-define-a-detector). Furthermore, because logs such as CloudTrail can conceivably be captured in both raw format and OCSF, it's good practice to name indexes in a way that keeps these logs separate and easily identifiable. This becomes helpful when specifying an index name in any of the APIs associated with Security Analytics. |
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.
Why is DNS lowercased and bolded in this context? Is it supposed to match a UI element?
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.
Yes. But this representation is opposed by the PM. UX and front-end dev will eventually replace these log type names with revised names. For the time being, this is the way the log type is represented in the UI.
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.
Thanks. Addressed comments.
@@ -69,7 +69,7 @@ Although the ECS rule field names are largely self-explanatory, you can find pre | |||
|
|||
[Amazon Security Lake](https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html) converts security log and event data to the [Open Cybersecurity Schema Framework](https://docs.aws.amazon.com/security-lake/latest/userguide/open-cybersecurity-schema-framework.html) (OCSF) to normalize combined data and facilitate its management. OpenSearch supports ingestion of log data from Security Lake in the OCSF format, and Security Analytics can automatically map fields from OCSF to ECS (the default field-mapping schema). | |||
|
|||
The Security Lake log types that can be used as log sources for detector creation include CloudTrail, Route 53, and VPC Flow. Given that Route 53 is a log that captures DNS activity, its log type should be specified as **DNS logs** when [defining a detector](#step-1-define-a-detector). Furthermore, because logs such as CloudTrail can conceivably be captured in both raw format and OCSF, it's good practice to name indexes in a way that keeps these logs separate and easily identifiable. This becomes helpful when specifying an index name in any of the APIs associated with Security Analytics. | |||
The Security Lake log types that can be used as log sources for detector creation include CloudTrail, Route 53, and VPC Flow. Given that Route 53 is a log that captures DNS activity, its log type should be specified as **dns** when [defining a detector](#step-1-define-a-detector). Furthermore, because logs such as CloudTrail can conceivably be captured in both raw format and OCSF, it's good practice to name indexes in a way that keeps these logs separate and easily identifiable. This becomes helpful when specifying an index name in any of the APIs associated with Security Analytics. |
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.
Yes. But this representation is opposed by the PM. UX and front-end dev will eventually replace these log type names with revised names. For the time being, this is the way the log type is represented in the UI.
After selecting **Create log type** in the **Log types** page, the **Create log type** page opens and provides the necessary fields to create a new log type: | ||
1. Enter a name for the log type. | ||
|
||
The log type name supports characters a-z (lower case), 0--9, hyphens, and underscores. |
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.
It does.
Signed-off-by: cwillum <[email protected]>
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.
@cwillum Please see my comments and changes and let me know if you have any questions. Thanks!
Signed-off-by: cwillum <[email protected]>
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.
All set. Thanks for the thorough review.
Signed-off-by: cwillum <[email protected]>
* fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> --------- Signed-off-by: cwillum <[email protected]>
…4969) * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> --------- Signed-off-by: cwillum <[email protected]>
* fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> * fix#4741 custom logtype updates Signed-off-by: cwillum <[email protected]> --------- Signed-off-by: cwillum <[email protected]>
Description
Adds documentation for custom log type enhancements.
Issues Resolved
Fixes #4741
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.