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

MalwareFilterPolicy Standard #688

Merged

Conversation

OfficialEsco
Copy link
Contributor

Same as #687

{
    "name": "standards.MalwareFilterPolicy",
    "cat": "Defender Standards",
    "tag": ["lowimpact", "CIS"],
    "helpText": "Creates a Malware Filter Policy",
    "addedComponent": [
      {
        "type": "input",
        "name": "standards.MalwareFilterPolicy.Name",
        "label": "Malware Filter Policy Name"
      },
      {
        "type": "boolean",
        "label": "EnableFileFilter",
        "name": "standards.MalwareFilterPolicy.EnableFileFilter",
        "default": true
      },
      {
        "type": "Select",
        "label": "FileTypeAction",
        "name": "standards.MalwareFilterPolicy.FileTypeAction",
        "values": [
          {
            "label": "Reject",
            "value": "Reject"
          },
          {
            "label": "Quarantine the message",
            "value": "Quarantine"
          }
        ]
      },
      {
        "type": "boolean",
        "label": "Zero-hour auto purge for malware",
        "name": "standards.MalwareFilterPolicy.ZapEnabled",
        "default": true
      },
      {
        "type": "Select",
        "label": "QuarantineTag",
        "name": "standards.MalwareFilterPolicy.QuarantineTag",
        "values": [
          {
            "label": "AdminOnlyAccessPolicy",
            "value": "AdminOnlyAccessPolicy"
          },
          {
            "label": "DefaultFullAccessPolicy",
            "value": "DefaultFullAccessPolicy"
          },
          {
            "label": "DefaultFullAccessWithNotificationPolicy",
            "value": "DefaultFullAccessWithNotificationPolicy"
          }
        ]
      },
      {
        "type": "boolean",
        "label": "Enable Internal Sender Admin Notifications",
        "name": "standards.MalwareFilterPolicy.EnableInternalSenderAdminNotifications"
      },
      {
        "type": "input",
        "name": "standards.MalwareFilterPolicy.InternalSenderAdminAddress",
        "label": "Internal Sender Admin Address"
      },
      {
        "type": "boolean",
        "label": "Enable Internal Sender Admin Notifications",
        "name": "standards.MalwareFilterPolicy.EnableExternalSenderAdminNotifications"
      },
      {
        "type": "input",
        "name": "standards.MalwareFilterPolicy.ExternalSenderAdminAddress",
        "label": "External Sender Admin Address"
      }
    ],
    "label": "Malware Filter Policy",
    "impact": "Low Impact",
    "impactColour": "info"
  },

image

Update Invoke-CIPPStandardMalwareFilterPolicy.ps1

Update Invoke-CIPPStandardMalwareFilterPolicy.ps1

Update Invoke-CIPPStandardMalwareFilterPolicy.ps1
@KelvinTegelaar
Copy link
Owner

Fantastic work! same as your other PR:

Policy name can be left, but could also be set to "Default Malware policy" - File Filter should be enabled by default, ZAP too. Leaving the rest of the settings to be set by the user.

@OfficialEsco
Copy link
Contributor Author

image

@KelvinTegelaar KelvinTegelaar merged commit 2cbbda4 into KelvinTegelaar:dev Mar 25, 2024
@OfficialEsco OfficialEsco deleted the MalwareFilterPolicy branch March 25, 2024 20:52
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.

2 participants