Closed Bug 1037966 Opened 12 years ago Closed 10 years ago

[mig console] search support

Categories

(Enterprise Information Security Graveyard :: MIG, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jvehent, Assigned: jvehent)

References

Details

The console needs support for advanced search queries, through the API. Some example: > select agents where command.id='12345' and commands.results.0.foundanything=true > select action where name='some action name' and starttime>='2014-07-01' > select command where agent.name='someserver.example.net' and action.threat.family='compliance' etc... As a step 2, it would be useful to have multiple search targets. The default target would be the API, but the result a query could be stored in a local buffer, and further queries ran against that buffer. > select commands where action.id='123456' ==> results stored in BUF1 > select agents from BUF1 where command.status != 'done' > select agents from BUF1 where command.results.*.foundanything=true
Instead of re-implementing complex search support in the console, another idea would be to give investigators unbounded sql access, aka "SQL Injection". The API would require a strong authentication mechanism and session management. Authentication should use GPG to avoid introducing a second key/password. The API would also need support for ACLs, and a read-only database user. Some investigators would gain search access by tying their identity to a search role in the API ACLs. That would also let us open us the API without giving full access to its data. In the console, we would pass whole SQL queries as POST bodies, and return the results in json.
Assignee: nobody → jvehent
Blocks: 1069988
Component: Operations Security (OpSec): General → Operations Security (OpSec): MIG
No longer blocks: 896480
Depends on: 1134390
Group: mozilla-employee-confidential
Component: Operations Security (OpSec): MIG → MIG
Product: mozilla.org → Enterprise Information Security
Version: other → unspecified
Group: mozilla-employee-confidential
Migrated to github issues: https://github.com/mozilla/mig/issues
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Enterprise Information Security → Enterprise Information Security Graveyard
You need to log in before you can comment on or make changes to this bug.