This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Discussions
  • NetWitness Community
  • Discussions
  • Re: Mongodb update field value
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page

Mongodb update field value

socuser
socuser Occasional Contributor
Occasional Contributor
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2021-03-30 02:08 AM - edited ‎2021-03-30 02:11 AM

 

Dear all,

 

I tried some modification in  Mongodb's Incident  Collections

 

for example

db.incident.update({'_id' : 'INC-1234'}, {$set: { "status" : "Closed"}});

updation successful !! value updated in Incident Collection checked via mongo shell.

 

But in RSA Netwitness in Respond Tab the value of incident is not updated , it throwing error for the modified Incident INC-1234

"Unable to load Incident Details"

 

Even I also restarted mongod, respond server, jetty services.

 

Whey this is happening i was able to modified mongodb incident collections why it is not reflecting on RSA Netwitness Respond tab,

any idea?

 

  • Incident
  • mongo
  • mongodb
  • NetWitness
  • respond
  • responddb
0 Likes
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
3 REPLIES 3

JoshRandall
Valued Contributor JoshRandall Valued Contributor
Valued Contributor
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2021-03-30 11:51 AM

Your $set command is correct for mongodb syntax, but its not correct for NetWitness to read the updated value properly.

 

You should just need to change "Closed" to "CLOSED" in order for Respond to validate the value properly.

 

That said....is there a reason you're updating incident status directly in Mongo? If you need to manage or change these programmatically, you can use the Respond API to update incident status.


Mr. Mongo
0 Likes
Share
Reply

socuser
socuser Occasional Contributor
Occasional Contributor
In response to JoshRandall
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2021-04-06 09:41 PM - edited ‎2021-04-06 09:41 PM

Dear Mongo,

Even I tried changing the Status from New to Assigned with valid Status value , Mongodb updated successful but RSA Netwitness Respondtab is not working properly for that changed incidents, 

PFA of Valid Incident status values and incident fetching error in Netwitness respond tab

Still am wonder what went wrong?

 

  • Incidents
  • mongo
  • NetWitness
  • respond
  • rsa
Preview file
6 KB
Preview file
47 KB
0 Likes
Share
Reply

JoshRandall
Valued Contributor JoshRandall Valued Contributor
Valued Contributor
In response to socuser
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2021-04-07 01:43 PM

Those status options are only valid when updating an incident via the Respond API, not if updating an incident record directly in mongo. I recommend you avoid modifying mongo directly, and only use the API with those valid status options.

We have a number of API How-To videos on YouTube that I think you'll find helpful (https://www.youtube.com/playlist?list=PL69kuTXA1Iatq3MKjY3Ydw2J7GdMF8wKD), especially these two:

JoshRandall_0-1617817325115.png

 


Mr. Mongo
0 Likes
Share
Reply
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.