diff --git a/detection_rules/action_connector.py b/detection_rules/action_connector.py index 48167a8a1f8..8a31c2a8f0e 100644 --- a/detection_rules/action_connector.py +++ b/detection_rules/action_connector.py @@ -126,7 +126,7 @@ def parse_action_connector_results_from_api(results: List[dict]) -> tuple[List[d def build_action_connector_objects(action_connectors: List[dict], action_connector_rule_table: dict, - action_connectors_directory: Path, save_toml: bool = False, + action_connectors_directory: Path, save_toml: bool = False, skip_errors: bool = False, verbose=False, ) -> Tuple[List[TOMLActionConnector], List[str], List[str]]: """Build TOMLActionConnector objects from a list of action connector dictionaries.""" diff --git a/detection_rules/kbwrap.py b/detection_rules/kbwrap.py index 0bb229b0392..59526548551 100644 --- a/detection_rules/kbwrap.py +++ b/detection_rules/kbwrap.py @@ -138,7 +138,7 @@ def kibana_import_rules(ctx: click.Context, rules: RuleCollection, overwrite: Op @click.option("--strip-version", "-sv", is_flag=True, help="Strip the version fields from all rules") @click.pass_context def kibana_export_rules(ctx: click.Context, directory: Path, action_connectors_directory: Optional[Path], - exceptions_directory: Optional[Path], default_author: str, + exceptions_directory: Optional[Path], default_author: str, rule_id: Optional[Iterable[str]] = None, export_action_connectors: bool = False, export_exceptions: bool = False, skip_errors: bool = False, strip_version: bool = False ) -> List[TOMLRule]: