{ "rules":[ { "name":"data_store", "applicator": "Contrast::Agent::Inventory::Policy::DataStores", "applicator_method": "report_data_store", "required_properties": ["data_store"], "optional_properties": [], "triggers":[ { "class_name":"SQLite3::Database", "instance_method":true, "method_name":"execute", "method_visibility": "public", "properties": { "data_store" : "SQLite3" } }, { "class_name":"SQLite3::Statement", "instance_method":true, "method_name":"initialize", "method_visibility": "private", "properties": { "data_store" : "SQLite3" } }, { "class_name":"Mysql2::Client", "instance_method":true, "method_name":"query", "method_visibility": "public", "properties": { "data_store" : "MySQL" } }, { "class_name":"Mysql2::Statement", "instance_method":true, "method_name":"execute", "method_visibility": "public", "properties": { "data_store" : "MySQL" } }, { "class_name":"PG::Connection", "instance_method":true, "method_name":"exec", "method_visibility": "public", "properties": { "data_store" : "PostgreSQL" } }, { "class_name":"PG::Connection", "instance_method":true, "method_name":"exec_params", "method_visibility": "public", "properties": { "data_store" : "PostgreSQL" } }, { "class_name":"PG::Connection", "instance_method":true, "method_name":"async_exec", "method_visibility": "public", "properties": { "data_store" : "PostgreSQL" } }, { "class_name": "ActiveRecord::Querying", "instance_method": false, "method_name": "select", "method_visibility": "public", "properties": { "data_store": "PostgreSQL" } }, { "class_name": "Mongo::Server::Connection", "instance_method": true, "method_name": "dispatch", "method_visibility": "public", "properties": { "data_store": "MongoDB" } },{ "class_name": "Moped::Node", "instance_method": true, "method_name": "read", "method_visibility": "public", "properties": { "data_store": "MongoDB" } },{ "class_name": "Moped::Node", "instance_method": true, "method_name": "write", "method_visibility": "public", "properties": { "data_store": "MongoDB" } },{ "class_name": "Moped::Node", "instance_method": true, "method_name": "process", "method_visibility": "public", "properties": { "data_store": "MongoDB" } } ] } ] }