Skip to content

add ns include/exclude config for scans#323

Merged
matthyx merged 1 commit into
mainfrom
include
Jul 15, 2024
Merged

add ns include/exclude config for scans#323
matthyx merged 1 commit into
mainfrom
include

Conversation

@matthyx
Copy link
Copy Markdown
Contributor

@matthyx matthyx commented Jul 9, 2024

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 9, 2024

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx force-pushed the include branch 4 times, most recently from 3da1cc1 to 4610773 Compare July 10, 2024 14:55
@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx marked this pull request as ready for review July 12, 2024 05:25
@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx added the release Create release label Jul 15, 2024
@matthyx matthyx requested a review from Bezbran July 15, 2024 06:58
Bezbran
Bezbran previously approved these changes Jul 15, 2024
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx merged commit 230843a into main Jul 15, 2024
@matthyx matthyx deleted the include branch July 15, 2024 08:38
entlein pushed a commit to k8sstormcenter/node-agent that referenced this pull request May 27, 2026
Removing the Patterns scan when cp.Opens.All==true (PR kubescape#811 original
diff) regressed projectField()'s pass-through behavior:
ap.was_path_opened_with_suffix/_prefix returned false for dynamic
entries kept only in cp.Opens.Patterns when the rule omitted
profileDataRequired.opens.

Restores a narrower Patterns scan that, in All-mode, considers each
pattern's CONCRETE SUFFIX/PREFIX (text up to the first '*' or '⋯')
rather than the full pattern body. This keeps the spoof-resistance
intent matthyx noted (rejecting raw HasPrefix/HasSuffix over
attacker-influenced pattern strings) while restoring matches for the
dynamic entries the All-mode contract is supposed to cover.

The two segment-iteration sites that classify wildcard tokens now
match the bare "*" literal directly rather than depending on
dynamicpathdetector.WildcardIdentifier (added in storage kubescape#323, not
yet in NA's pinned storage v0.0.258). DynamicIdentifier reference
stays — it's been in storage since long before v0.0.258.

Resolves matthyx review on open.go:125 (2026-05-19).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Create release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants