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

x-pack/packetbeat: add licensing notices and information for Npcap #29303

Closed
wants to merge 26 commits into from

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Dec 6, 2021

What does this PR do?

This adds licensing notices and information for #29112.

Why is it important?

This information is a legal requirement for distributing OEM Npcap. The PR is split to ease review.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • Confirm that the wording and locations of license information agrees with required licensing policy.

How to test this PR locally

This PR is almost entirely English semantics, comprehension is testing.

Only the final commit in this PR is new. The remainder are from #29112.

Related issues

Use cases

N/A

Screenshots

N/A

Logs

N/A

@elasticmachine
Copy link
Collaborator

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

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Dec 6, 2021
Makefile Outdated Show resolved Hide resolved
@@ -0,0 +1,228 @@

Copy link
Contributor Author

@efd6 efd6 Dec 6, 2021

Choose a reason for hiding this comment

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

Is this directory the right place for this or should it go in the root with additional words to note who it's relevant to — it probably already needs some of that to note that it's only relevant to Windows users. Note that currently this file doe not get placed on the target system — should it be?

// Explicitly hold at ELv1 to satisfy Npcap licensing on Windows.
// Do not alter this without checking with the licensing policy.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this wording OK?

@@ -0,0 +1,229 @@
--------------------------------------------------------------------------------
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a place-holder file. It should probably also have a link to the canonical license file to avoid risk of errors.

@elasticmachine
Copy link
Collaborator

elasticmachine commented Dec 7, 2021

💚 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: 2022-01-12T23:07:26.781+0000

  • Duration: 253 min 27 sec

  • Commit: a58e5e5

Test stats 🧪

Test Results
Failed 0
Passed 47877
Skipped 4284
Total 52161

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

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

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@efd6 efd6 force-pushed the npcap/installer_licensing branch from b159725 to d4c2496 Compare December 9, 2021 01:45
@efd6 efd6 requested a review from a team as a code owner December 9, 2021 01:45
@efd6 efd6 force-pushed the npcap/installer_licensing branch 2 times, most recently from 1344a47 to 3bc0aa7 Compare December 12, 2021 23:44
Makefile Outdated Show resolved Hide resolved
@mergify

This comment has been minimized.

@efd6

This comment has been minimized.

@efd6 efd6 force-pushed the npcap/installer_licensing branch from 7f35287 to 0c806cc Compare December 14, 2021 04:55
@efd6 efd6 force-pushed the npcap/installer_licensing branch 2 times, most recently from 8260116 to 3f24c09 Compare December 14, 2021 08:16
@andrewkroh
Copy link
Member

/test

@andrewkroh
Copy link
Member

/package

@efd6 efd6 force-pushed the npcap/installer_licensing branch from 3f24c09 to 436d960 Compare December 14, 2021 23:27
@efd6 efd6 requested a review from andrewkroh December 15, 2021 01:10
@efd6

This comment has been minimized.

@efd6

This comment has been minimized.

@efd6 efd6 force-pushed the npcap/installer_licensing branch from 436d960 to eb6c75b Compare December 15, 2021 04:02
@@ -32,6 +32,11 @@ func init() {

devtools.BeatDescription = "Packetbeat analyzes network traffic and sends the data to Elasticsearch."
devtools.BeatLicense = "Elastic License"
if devtools.Platform.GOOS == "windows" {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

While debugging the license checking issues I found that this is not run during packaging. This means that this hold won't constrain the license note customisation though it will prevent escape of the actual installer. Is this a problem and if it is where would be the best equivalent place in the packaging code path?

Copy link
Member

@andrewkroh andrewkroh Dec 15, 2021

Choose a reason for hiding this comment

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

I think this block is not necessary (or I don't understand something). All artifacts produced by running mage package from beats/x-pack/packetbeat directory are ELv1 (and all artifacts from beats/packetbeat are ASL2).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. This was a defensive inclusion in case beats/x-pack/packetbeat was moved to ELv2 which was something that was raised as a concern.

@efd6

This comment has been minimized.

@efd6

This comment has been minimized.

2 similar comments
@efd6
Copy link
Contributor Author

efd6 commented Dec 16, 2021

/test

@efd6
Copy link
Contributor Author

efd6 commented Dec 16, 2021

/test

@efd6 efd6 force-pushed the npcap/installer_licensing branch from 4ab7896 to ecd9308 Compare December 16, 2021 08:49
@andrewkroh
Copy link
Member

/package

@efd6 efd6 force-pushed the npcap/installer_licensing branch from e475abf to a58e5e5 Compare January 12, 2022 23:07
@efd6
Copy link
Contributor Author

efd6 commented Jan 27, 2022

Abandoned in favour of #29112.

@efd6 efd6 closed this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants