Skip to content

Update 01_client_setup_and_queries.py

6af8491
Select commit
Loading
Failed to load commit list.
Merged

add resource_group_id to create_integration_instance - full test coverage - updated examples - updated README #50

Update 01_client_setup_and_queries.py
6af8491
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jul 31, 2025 in 3s

38 new alerts

New alerts in code changed by this pull request

  • 38 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 410 in examples/05_alert_rules_and_smartclasses.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable webhook_rule is not used.

Check notice on line 410 in examples/05_alert_rules_and_smartclasses.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable multi_action_rule is not used.

Check notice on line 416 in examples/05_alert_rules_and_smartclasses.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable smartclass_id is not used.

Check notice on line 15 in examples/06_advanced_operations.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'json' is not used.

Check notice on line 301 in examples/06_advanced_operations.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable limit_skip_results is not used.

Check notice on line 417 in examples/06_advanced_operations.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable test_result is not used.

Check notice on line 3 in tests/test_alert_rule_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 4 in tests/test_alert_rule_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'responses' is not used.

Check notice on line 5 in tests/test_alert_rule_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'time' is not used.

Check notice on line 8 in tests/test_alert_rule_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'JupiterOneApiError' is not used.

Check notice on line 3 in tests/test_create_integration_instance.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 4 in tests/test_create_integration_instance.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Mock' is not used.

Check notice on line 3 in tests/test_cursor_query_edge_cases.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 4 in tests/test_cursor_query_edge_cases.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Mock' is not used.

Check notice on line 5 in tests/test_cursor_query_edge_cases.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'concurrent' is not used.

Check notice on line 3 in tests/test_deferred_response.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'json' is not used.

Check notice on line 4 in tests/test_deferred_response.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 5 in tests/test_deferred_response.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'time' is not used.

Check notice on line 10 in tests/test_deferred_response.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'JupiterOneApiError' is not used.

Check notice on line 3 in tests/test_integration_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 4 in tests/test_integration_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'responses' is not used.

Check notice on line 5 in tests/test_integration_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Mock' is not used.

Check notice on line 7 in tests/test_integration_methods.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'JupiterOneApiError' is not used.

Check notice on line 3 in tests/test_limit_skip_query_edge_cases.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'pytest' is not used.

Check notice on line 4 in tests/test_limit_skip_query_edge_cases.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'Mock' is not used.