FIRST :: ConfigurationΒΆ

class first_plugin_ida.first.FIRST[source]
class Configuration(config=None)[source]

Class containing configuration details for FIRST.

Parameters:config (RawConfigParser) – Configuration details for plugin.
api_key

str – The user’s API key.

auth

HTTPKeberosAuth – Authenication used with FIRST (default: None).

authentication

bool – Flag set if authentication is used in connection.

load_config(config)[source]

Loads configuration details into this instance.

Parameters:config (RawConfigParser) – The configuration details to load.
port

int – The FIRST server port (Default – 80)

protocol

str – The TCP protocol used to communicate with FIRST.

save_config(config_path)[source]

Saves the configuration set in this instance to disk.

Parameters:config_path (str) – File path to save configuration.
server

str – The FIRST server.

set_api_key(key)[source]
set_authentication(_authentication)[source]
set_data(key, value)[source]

Sets a specific configuration setting.

Parameters:
  • key (str) – The configuration setting.
  • value (str) – The configuration setting value.
set_port(_port)[source]
set_protocol(_protocol)[source]
set_server(_server)[source]
set_verify(_verify)[source]
verify

bool – Whether the SSL cert will be verified.