Skip to content

[Arista NG Firewall] Initial Release - #6347

Merged
efd6 merged 23 commits into
elastic:mainfrom
MakoWish:arista_ng_firewall
Jun 28, 2023
Merged

[Arista NG Firewall] Initial Release#6347
efd6 merged 23 commits into
elastic:mainfrom
MakoWish:arista_ng_firewall

Conversation

@MakoWish

@MakoWish MakoWish commented May 26, 2023

Copy link
Copy Markdown
Contributor

Type of Change

  • Enhancement

What does this PR do?

This is an initial integration release for Arista NG Firewall (previously Untangle NG Firewall)

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.

Author's Checklist

  • Package has been tested with sample data from all covered event types

Related issues

Additional Notes

I am not sure how to open elastic-package's stack up to accept live syslog data, so I am unable to create dashboards just yet. Once this initial release is available to install in my environment, I can get some dashboards created.

@elasticmachine

elasticmachine commented May 26, 2023

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-06-22T21:50:17.513+0000

  • Duration: 14 min 29 sec

Test stats 🧪

Test Results
Failed 0
Passed 15
Skipped 0
Total 15

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

Copy link
Copy Markdown

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@jamiehynds jamiehynds added the New Integration Issue or pull request for creating a new integration package. label May 29, 2023

@efd6 efd6 left a comment

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.

Nice. A few comments.

Comment thread packages/arista_ngfw/data_stream/log/_dev/test/pipeline/test-common-config.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/http_event.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/web_filter.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/fields/base-fields.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/fields/ecs.yml Outdated
Comment thread packages/arista_ngfw/manifest.yml Outdated
@efd6

efd6 commented Jun 5, 2023

Copy link
Copy Markdown
Contributor

/test

@MakoWish
MakoWish requested a review from a team as a code owner June 5, 2023 16:24
Comment thread packages/arista_ngfw/data_stream/log/_dev/test/pipeline/test-common-config.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/web_filter.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/cisco_secure_endpoint/data_stream/event/fields/ecs.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/http_event.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/_dev/test/pipeline/test-common-config.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/http_event.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/web_filter.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/fields/base-fields.yml Outdated
Comment thread packages/arista_ngfw/manifest.yml Outdated
Comment thread packages/cisco_secure_endpoint/data_stream/event/fields/ecs.yml Outdated
@efd6

efd6 commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

/test

@efd6

efd6 commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

You will need to add a line to https://github.com/elastic/integrations/blob/main/.github/CODEOWNERS

/packages/arista_ngfw @elastic/security-external-integrations

(list is — should be — ordered alphabetically)

MakoWish and others added 2 commits June 13, 2023 16:24
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@MakoWish

Copy link
Copy Markdown
Contributor Author

You will need to add a line to https://github.com/elastic/integrations/blob/main/.github/CODEOWNERS

/packages/arista_ngfw @elastic/security-external-integrations

(list is — should be — ordered alphabetically)

Beat you to it, but did not do alphabetically, because I noticed it was not already. I will move my addition into order.

@efd6

efd6 commented Jun 13, 2023

Copy link
Copy Markdown
Contributor

/test

@elasticmachine

elasticmachine commented Jun 13, 2023

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (7/7) 💚
Classes 100.0% (7/7) 💚
Methods 100.0% (36/36) 💚
Lines 94.639% (865/914) 👍 8.103
Conditionals 100.0% (0/0) 💚

@efd6 efd6 left a comment

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.

LGTM after cisco file is removed.

@MakoWish

Copy link
Copy Markdown
Contributor Author

LGTM after cisco file is removed.

I reverted the changes, but how do I remove it?

@MakoWish

MakoWish commented Jun 14, 2023

Copy link
Copy Markdown
Contributor Author

I might just be making it worse, hahaha! I just did:

git checkout origin/main packages/cisco_secure_endpoint/data_stream/event/fields/ecs.yml

and committed. Would appreciate a tip on how to remove it.

Would it be better to just copy all my files into a new branch without the CSE file, delete this PR, and open a new PR with a single clean commit?

@efd6

efd6 commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

Done. I just did a revert of the changes on that file an pushed it (you could copy from the main branch's state, but I did a file revert on that file for each of the commits here that touched it).

@efd6

efd6 commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

/test

@elasticmachine

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

@MakoWish

Copy link
Copy Markdown
Contributor Author

@efd6,

Is there a way to install this onto a live Elastic cluster instead of just the elastic-package stack?

@efd6 efd6 left a comment

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.

LGTM after minor issues addressed.

Comment thread packages/arista_ngfw/_dev/build/build.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/default.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/http_event.yml Outdated
Comment thread packages/arista_ngfw/data_stream/log/elasticsearch/ingest_pipeline/web_filter.yml Outdated
MakoWish and others added 9 commits June 19, 2023 16:56
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
@MakoWish

Copy link
Copy Markdown
Contributor Author

Anything else needed on this one? Also, is there a way to install onto a test cluster so I can push some live data to it? Or do I need to wait until the Beta is actually released?

@efd6

efd6 commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

Easiest to wait until it's released.

@efd6 efd6 left a comment

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.

Thanks

@efd6

efd6 commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

/test

@MakoWish

Copy link
Copy Markdown
Contributor Author

It failed because the expected results did not match after the ECS version change. Regenerated the expected results, and the test passes locally now. Please test again.

@efd6

efd6 commented Jun 22, 2023

Copy link
Copy Markdown
Contributor

/test

@MakoWish

Copy link
Copy Markdown
Contributor Author

I'm getting a 404 when trying to view the BuildKite results again. It worked for a few days, but not anymore.

Anything else needed on this?

@efd6

efd6 commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

Don't worry about the buildkite builds, they are not required at this stage.

@efd6 efd6 left a comment

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.

Still LGTM

@efd6
efd6 merged commit e1c65f6 into elastic:main Jun 28, 2023
@efd6

efd6 commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

Thanks

@elasticmachine

Copy link
Copy Markdown

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

@MakoWish
MakoWish deleted the arista_ng_firewall branch June 28, 2023 14:33
@andrewkroh andrewkroh added the Integration:arista_ngfw Arista NG Firewall (Community supported) label Jul 22, 2024
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:arista_ngfw Arista NG Firewall (Community supported) New Integration Issue or pull request for creating a new integration package.

5 participants