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

Hide the deprecate antispyware column in windows_security_center #7411

Merged
merged 2 commits into from
Dec 16, 2021

Conversation

iko1
Copy link
Contributor

@iko1 iko1 commented Dec 10, 2021

related to #7399
code is still fetching the spyware engine status. I guess it should be deleted at the same time with first Windows version that doesn't support this column.

@iko1 iko1 requested review from a team as code owners December 10, 2021 11:51
@linux-foundation-easycla
Copy link

CLA Not Signed

1 similar comment
@linux-foundation-easycla
Copy link

CLA Not Signed

@alessandrogario
Copy link
Member

Hello @iko1,

thanks for the PR! I was wondering if it's worth to mark the column as hidden since it's no longer useful. Before we can merge it however, the EasyCLA check needs to pass.

@defensivedepth
Copy link
Contributor

I do think marking it as hidden would be useful.

@alessandrogario
Copy link
Member

alessandrogario commented Dec 13, 2021

Hello @iko1!

Would it be possible to correct the EasyCLA status check? The email address that is being used must be added to the GitHub profile and then verified.

EDIT: Closing and re-opening the PR fixed the issue! 👍

@iko1
Copy link
Contributor Author

iko1 commented Dec 13, 2021

Hello @iko1!

Would it be possible to correct the EasyCLA status check? The email address that is being used must be added to the GitHub profile and then verified.

Hi, I've already fixed the EasyCLA check. I can see that check is passed. Thanks.

@@ -4,7 +4,7 @@ schema([
Column("firewall", TEXT, "The health of the monitored Firewall (see windows_security_products)"),
Column("autoupdate", TEXT, "The health of the Windows Autoupdate feature"),
Column("antivirus", TEXT, "The health of the monitored Antivirus solution (see windows_security_products)"),
Column("antispyware", TEXT, "The health of the monitored Antispyware solution (see windows_security_products)"),
Column("antispyware", TEXT, "Deprecated (always 'Good').", hidden=True),
Copy link
Member

Choose a reason for hiding this comment

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

Does it make sense to also remove the underlying API call? (Maybe not -- I'm sure it will remain supported for years)

Copy link
Member

Choose a reason for hiding this comment

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

I was under the impression that this value was still useful on old Windows versions that we still support, so I imagined we wanted to keep the API call there. If this is not at all useful, then we should probably remove the call too

Copy link
Contributor Author

@iko1 iko1 Dec 16, 2021

Choose a reason for hiding this comment

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

I'm totally fine to delete the underlying API call, due to the fact that spyware engine doesn't get updates anymore from Microsoft. Properly the only way to get informative diagnostic from this column is from environments that doesn't connect to the internet and run Windows 10 before version 1607 (release date: 2/8/2016).

@directionless, may i delete the underlying API call in order to complete this PR?

Copy link
Member

Choose a reason for hiding this comment

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

If we think it's useful on older windows versions, then we may as well leave it. We can always remove it as those phase out.

@directionless directionless changed the title Deprecate antispyware column in windows_security_center Hide the deprecate antispyware column in windows_security_center Dec 16, 2021
@directionless directionless merged commit 8bb44c6 into osquery:master Dec 16, 2021
sharvilshah pushed a commit to sharvilshah/osquery that referenced this pull request Jan 7, 2022
…squery#7411)

This column is deprecated, and on modern windows machines always returns true. Hide it.
aikuchin pushed a commit to aikuchin/osquery that referenced this pull request Jul 11, 2023
…2 to master

* commit 'c97a1b416492585e049010deea36d2992b680556': (52 commits)
  Fix user_time and system_time unit in processes table on M1 (osquery#7473)
  Add BOOST_USE_ASAN define when enabling Asan (osquery#7469)
  Removing unnecessary macOS version check (osquery#7451)
  Add `utc` flag back for compatibility(osquery#7460)
  Add osquery version to macOS app bundle Info.plist (osquery#7452)
  Fix submodule cache for macOS CI runner (osquery#7456)
  New Table: Windows Firewall Rules (osquery#7403)
  Remove utc flag from example config file (osquery#7437)
  Update the ATC table `path` column check to be case insensitive (osquery#7442)
  Fix typos in documentation (osquery#7443)
  Fix a crash when Yara uses its own strutils functions (osquery#7439)
  Update `time` table to reflect UTC values (osquery#7276)
  Update sqlite to version 3.37.0 (osquery#7426)
  Fix linking of thirdparty_sleuthkit (osquery#7425)
  Apple Silicon support (osquery#7330)
  Fix how we disable tables in the fuzzer init method (osquery#7419)
  Prevent running discovery queries when fuzzing (osquery#7418)
  Hide the deprecate `antispyware` column in `windows_security_center` (osquery#7411)
  Fix typo in docs (osquery#7412)
  CHANGELOG 5.1.0 (osquery#7406)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants