Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module Office 365 configuration viewer #3524

Merged
merged 16 commits into from
Aug 10, 2021

Conversation

gabiwassan
Copy link
Contributor

Hi team
This PR added configuration on Management/Configuration for the new module Office 365.

XML config extracted from issue #4983 and PR

Screenshots:
Management/Configuration
image

Office 365 / General:
image

Office 365 / Api Auth:
image

Office 365 / Subscriptions:
image

JSON/XML:
image
image

Closes: #3507

Note: we have not yet defined URLs documentation

Copy link
Contributor

@matiasmoreno876 matiasmoreno876 left a comment

Choose a reason for hiding this comment

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

CR: LGTM ✅

Copy link
Contributor

@frankeros frankeros left a comment

Choose a reason for hiding this comment

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

Some spell comments

@sortiz1191 sortiz1191 self-requested a review August 4, 2021 10:05
field: 'only_future_events',
label: 'Collect events generated since Wazuh is initialized',
},
{ field: 'interval', label: 'Interval between Office 365 wodle executions in seconds' },
Copy link
Member

Choose a reason for hiding this comment

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

check: We should check if the value of interval is expressed in seconds on the API response because the field description mentions the time is in seconds.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe like this:
Interval between Office 365 wodle executions, format: s (seconds), m (minutes), h (hours), d (days)

Copy link
Member

Choose a reason for hiding this comment

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

issue: I could not test the PR, but I think the time could be returned in seconds. Check it.

Copy link
Contributor

@sortiz1191 sortiz1191 left a comment

Choose a reason for hiding this comment

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

Test: 🟢
CR: 🟢

Copy link
Member

@mpRegalado mpRegalado left a comment

Choose a reason for hiding this comment

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

CR: LGTM ✔️
Testing: LGTM ✔️

@sortiz1191
Copy link
Contributor

Second test:
Test: 🟢
CR: 🟢

@Desvelao
Copy link
Member

Desvelao commented Aug 9, 2021

review:
Testing: the module should not appear for the Agent configuration
image

@eze9252 eze9252 self-assigned this Aug 9, 2021
@Desvelao Desvelao self-assigned this Aug 9, 2021
…viewer

  - Module configuration only available for managers
  - Replaced as the list of credentials are rendered. Now it uses the `WzConfigurationSettingsListSelector`
  - Replaced some descriptions
@Desvelao
Copy link
Member

Desvelao commented Aug 9, 2021

Changes

  • Fix some problems in the module configuration viewer
    • Module configuration is only available for managers
    • Replaced as the list of credentials are rendered. Now it uses the WzConfigurationSettingsListSelector
    • Replaced some descriptions
  • Update some components tests and snapshot

Screenshot

  • List of credentials
    image

Copy link
Member

@mpRegalado mpRegalado left a comment

Choose a reason for hiding this comment

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

CR: LGTM ✔️
Testing: LGTM ✔️
Changed the label for time between wodle executions to seconds

Copy link
Contributor

@CPAlejandro CPAlejandro left a comment

Choose a reason for hiding this comment

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

CR:🟢
Testing:🟢

@mpRegalado mpRegalado merged commit ad424d3 into feature/Office365 Aug 10, 2021
@mpRegalado mpRegalado deleted the feat/3507-configuration-viewer-office365 branch August 10, 2021 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants