Giter VIP home page Giter VIP logo

Comments (4)

tembleking avatar tembleking commented on June 27, 2024

Hi @Donald-Sysdig, thanks for reporting, but this contradicts the behavior at #59. What version of the API is this? And what's the correct priority? info or informational?

from terraform-provider-sysdig.

Donald-Sysdig avatar Donald-Sysdig commented on June 27, 2024

@tembleking ,

Per Falco rules documentation (https://falco.org/docs/rules/), field Priority must be:
emergency, alert, critical, error, warning, notice, informational, debug

from terraform-provider-sysdig.

tembleking avatar tembleking commented on June 27, 2024

@Donald-Sysdig I am testing with this resource:

resource "sysdig_secure_rule_falco" "rule_system_user_interactive" {
  condition   = "spawned_process and system_users and interactive and not user_known_system_user_login"
  description = "an attempt to run interactive commands by a system (i.e. non-login) user"
  name        = "Terraform - System user interactive"
  output      = "System user ran an interactive command (user=%user.name user_loginuid=%user.loginuid command=%proc.cmdline container_id=%container.id image=%container.image.repository)"

  priority = "info"
  source   = "syscall"
  tags = [
    "NIST_800-53_AU-6(8)",
    "NIST_800-53_AC-6",
    "SOC2_CC6.1",
    "SOC2",
    "users",
    "NIST_800-53_AC-2g",
    "NIST_800-53_AC-17",
    "NIST_800-53_SI-4(24)",
    "NIST_800-53_AU-2",
    "NIST_800-53_SI-7(11)",
    "mitre_remote_access_tools",
    "NIST_800-53_SI-4",
    "NIST_800-53",
    "NIST_800-53_SI-3",
    "NIST_800-53_SI-4(2)",
  ]
}

And after applying it, I am unable to reproduce this issue:

$ terraform plan
sysdig_secure_rule_falco.rule_system_user_interactive: Refreshing state... [id=23427]

No changes. Infrastructure is up-to-date.

This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.

How did you reproduce it?

from terraform-provider-sysdig.

tembleking avatar tembleking commented on June 27, 2024

I am able to reproduce this if I revert the changes made in #59 which was already released. Our API returns "info" when the priority is "informational", so this should not be an issue with the latest version of the provider. Can you test it out please? @Donald-Sysdig
I am closing this issue for now.

from terraform-provider-sysdig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.