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

Add OCSF rule and template for paloalto network traffic logs #5087

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data-prepper-plugins/ocsf/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

dependencies {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need this dependency?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't need a build.gradle. But since I am adding a new sub directory, I thought it's good to have a simple file to start with. It may be expanded as needed in future.

implementation project(':data-prepper-api')
}


Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugin_name: "ocsf-panw-traffic"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plese change plugin_name as "ocsf-v1.1-panw-traffic"

apply_when:
- "$..processor[?(@.ocsf.type == 'PALOALTO_NETWORKS_TRAFFIC_LOGS')]"
Copy link

@sharraj sharraj Oct 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PALO_ALTO_NETWORK_TRAFFIC_LOGS. Please modify to this.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we create file name as ocsf-v1.1-panw-traffic-rule.yaml

- "$..processor[?(@.ocsf.version == '1.0')]"


Loading
Loading