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

Parse requirements and dependencies from rulesfile when in tar.gz format #505

Open
alacuku opened this issue Apr 3, 2024 · 6 comments
Open
Assignees

Comments

@alacuku
Copy link
Member

alacuku commented Apr 3, 2024

What would you like to be added:

PR #467 introduces a new feature that automatically parses requirements and dependencies from a rulesfiles when pushing to a registry. Example of requirements and dependecies in the config layer:

❯ falcoctl artifact config k8saudit-rules | jq
{
  "name": "k8saudit-rules",
  "version": "0.7.0",
  "dependencies": [
    {
      "name": "json",
      "version": "0.7.0"
    },
    {
      "name": "k8saudit",
      "version": "0.7.0",
      "alternatives": [
        {
          "name": "k8saudit-eks",
          "version": "0.4.0"
        }
      ]
    }
  ],
  "requirements": [
    {
      "name": "engine_version_semver",
      "version": "0.15.0"
    }
  ]
}

The next step is to extend the feature to support rulesfiles when provided in tar.gz format. If the rulesfile is compressed we uncompress it in a temporary directory, parse the file, and then remove the temporary files.

Why is this needed:
#441

@mapkon
Copy link
Contributor

mapkon commented Apr 3, 2024

Can someone assign this issue to me?

@alacuku
Copy link
Member Author

alacuku commented Apr 3, 2024

/assign @mapkon

@loresuso
Copy link
Member

Hi @mapkon, how is this proceeding? Mind if I assign this to me?

@mapkon
Copy link
Contributor

mapkon commented Jun 21, 2024

Go ahead

@poiana
Copy link
Contributor

poiana commented Sep 19, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@alacuku
Copy link
Member Author

alacuku commented Sep 20, 2024

/remove-lifecycle stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants