Skip to content

Conversation

@Powlinett
Copy link
Member

Proposed changes

  • automated code changes:
    • add settings.py
    • update connector.py
    • update main.py or __main__.py
    • add unit tests

Related issues

Checklist

  • I consider the submitted work as finished
  • I have signed my commits using GPG key.
  • I tested the code for its functionality using different use cases
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

The code needs to be reviewed by two people: one must fix any issue, the other one review the final commits.

@Powlinett Powlinett added filigran team use to identify PR from the Filigran team do not merge Do not merge this PR until this tag will be removed connector: microsoft sentinel intel composer labels Dec 3, 2025
4. Default values
"""
if Path(settings_cls.model_config["yaml_file"] or "").is_file(): # type: ignore
if Path(settings_cls.model_config["yaml_file"] or "").is_file():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion

Suggested change
if Path(settings_cls.model_config["yaml_file"] or "").is_file():
if Path(settings_cls.model_config.get("yaml_file", "")).is_file():

if Path(settings_cls.model_config["yaml_file"] or "").is_file():
return (YamlConfigSettingsSource(settings_cls),)
if Path(settings_cls.model_config["env_file"] or "").is_file(): # type: ignore
if Path(settings_cls.model_config["env_file"] or "").is_file():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion

Suggested change
if Path(settings_cls.model_config["env_file"] or "").is_file():
if Path(settings_cls.model_config.get("env_file", "")).is_file():

@Powlinett Powlinett force-pushed the feat/4847-migrate-microsoft-sentinel-intel branch from 64f1d5d to ac06a00 Compare December 9, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

composer connector: microsoft sentinel intel do not merge Do not merge this PR until this tag will be removed filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Microsoft Sentinel Intel] Migrate connector to be connector manager supported

3 participants