Skip to content

[fortinet_fortiproxy] Add Fortinet FortiProxy integration - #9846

Merged
taylor-swanson merged 3 commits into
elastic:mainfrom
taylor-swanson:integ/fortinet_fortiproxy
May 22, 2024
Merged

[fortinet_fortiproxy] Add Fortinet FortiProxy integration#9846
taylor-swanson merged 3 commits into
elastic:mainfrom
taylor-swanson:integ/fortinet_fortiproxy

Conversation

@taylor-swanson

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

Copy link
Copy Markdown
Contributor

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 added enhancement New feature or request Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices] Integration:fortinet_fortiproxy Fortinet FortiProxy labels May 13, 2024
@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
Copy Markdown

🚀 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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

💚 Build Succeeded

History

cc @taylor-swanson

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

Copy link
Copy Markdown

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

@andrewkroh andrewkroh added the New Integration Issue or pull request for creating a new integration package. label Aug 13, 2024
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 Fortinet FortiProxy New Integration Issue or pull request for creating a new integration package. Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices]

5 participants