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

[fortinet_fortiproxy] Add Fortinet FortiProxy integration #9846

Merged
merged 3 commits into from
May 22, 2024

Conversation

taylor-swanson
Copy link
Contributor

@taylor-swanson taylor-swanson commented May 13, 2024

Proposed commit message

  • Initial draft of Fortinet FortiProxy integration
  • Add initial support for all log types
  • Add system and integration tests

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

How to test this PR locally

cd packages/fortinet_fortiproxy
elastic-package test

Related issues

Screenshots

dashboard
Screenshot 2024-05-14 at 7 49 22 AM
screencapture-localhost-5601-app-fleet-integrations-fortinet-fortiproxy-0-1-0-add-integration-2024-05-14-07_50_03

@taylor-swanson taylor-swanson self-assigned this May 13, 2024
- Initial draft of Fortinet FortiProxy integration
- Add initial support for all log types
- Add system and integration tests
@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@taylor-swanson taylor-swanson marked this pull request as ready for review May 14, 2024 12:48
@elasticmachine
Copy link

Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices)

@taylor-swanson taylor-swanson requested a review from a team May 14, 2024 15:58
default: |-
#certificate_authorities:
# - |
# -----BEGIN CERTIFICATE-----
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this certificate used for anything? Maybe it's better to remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that leaked over from the fortigate integration. certificate authorities doesn't really make sense here now that I'm looking at it. I see other integrations use something like this which I think I'll go with (good to show some sort of example, but better to not have a live key/cert pair that someone can accidentally use):

#certificate: "/etc/server/cert.pem"
#key: "/etc/server/key.pem"

@@ -0,0 +1,205 @@
- name: cloud
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are these fields here, and not in packages/fortinet_fortiproxy/data_stream/log/fields/ecs.yml?

They're part of ECS, and from the descriptions, they look like they're taken from ECS. So I think I just don't understand how they're generated, and why some things go into agent.yml vs ecs.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Historical reasons I suppose. This file was copied from another integration pretty much verbatim. I haven't heard any complaints about doing it this way from any other teams and it hasn't caused us any issues so far as far as I know.

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @taylor-swanson

@taylor-swanson taylor-swanson merged commit 6e63807 into elastic:main May 22, 2024
5 checks passed
@taylor-swanson taylor-swanson deleted the integ/fortinet_fortiproxy branch May 22, 2024 14:13
@elasticmachine
Copy link

Package fortinet_fortiproxy - 0.1.0 containing this change is available at https://epr.elastic.co/search?package=fortinet_fortiproxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:Fortinet_FortiProxy Team:Security-Deployment and Devices Deployment and Devices Security team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Integration] Fortinet FortiProxy
4 participants