# Discovery & Autopatch

## Discovery

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FSpn74mSU89u3VHMZ5040%2Fimage.png?alt=media&#x26;token=429d6fd0-11d1-4014-9925-e3d391313c9d" alt=""><figcaption><p><em>The place to detect &#x26; patch applications in Scappman</em></p></figcaption></figure>

This guide has three parts:

1. Manually patch applications
2. Configure autopatch
3. Monitor autopatch

### 1. Applications | Manually patch&#x20;

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FJgWMXg9CMHdkTMiu7IXa%2Fimage.png?alt=media&#x26;token=a4c3d951-d5e3-4e4a-a285-676cc78869c4" alt=""><figcaption><p>Two tabs are available: Unmanaged &#x26; Managed</p></figcaption></figure>

Unmanaged: List of applications that are found on your Intune Endpoints, but are not yet managed by Scappman and are available in our App store.

Managed: List of applications that are found and already being managed by Scappman.

#### Manually patch

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FDX5Yc3cooMEgIQAnijxe%2Fimage.png?alt=media&#x26;token=25aab560-0090-44fe-aa81-2c53dec2f39e" alt=""><figcaption></figcaption></figure>

In the unmanaged application page you have the option to manually patch applications.

By clicking on “Patch”.

You will be directed to the install & update page of the app.&#x20;

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F7w8YqcitfhcawgfSBJdT%2Fimage.png?alt=media&#x26;token=2f704b11-ad6a-484b-a4f0-7c1b4e9ef6d2" alt=""><figcaption></figcaption></figure>

In order to only patch existing apps in your environment you must assign it as an **update only** app.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F41AFBbzxyL01cE5YACl5%2Fimage.png?alt=media&#x26;token=04e229f0-c011-4b34-bbcf-844c2de53fd4" alt=""><figcaption></figcaption></figure>

If you want to deploy the app to other devices in your environment, you can use the **Install & Update** option. This also automatically creates an update only app.

### 2. Autopatch | Automatically patch&#x20;

The second option in the discovery tab, 'Autopatch', lets you automatically patch all your applications without manually creating an assignment for each application.

Autopatch can automatically create update only applications for discovered unmanaged applications.

### Step 1: General

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FqxV2UMlaenmbUp3a385i%2Fimage.png?alt=media&#x26;token=cbdd5f92-cfc9-4983-bb0b-8465094f8522" alt=""><figcaption></figcaption></figure>

When you choose “On” you will be directed to the configuration flow for Autopatch.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FW5tNojzUnylX25tbOX5R%2Fimage.png?alt=media&#x26;token=4ea0bd90-4d28-40bb-8af3-e7cfc04560bb" alt=""><figcaption></figcaption></figure>

Some options are available for configuration:

**Primary language & Secundary language:**

During auto-patching, we will use a primary language whenever it is available. If the primary language is not available, we will use the secondary language instead.

**Minimum number of Installs:**

The treshold number of the found unmanaged applications before we start autopatching.

I advise you to start with a higher number than 4 for medium sized businesses.

If you have a large environment, please put this number even higher.&#x20;

**Days to notify before creating autopatch apps :**

You will get an email before we start auto patching the applications that we detect.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FT3vnYpNIAHH8sFBqtVOC%2Fimage.png?alt=media&#x26;token=dea52175-899b-4c66-a8bf-1b0ede195b96" alt=""><figcaption></figcaption></figure>

**Enable update rings:**

You have the ability to update in rings.

### Step 2: Choose assignments

With **update rings** you have the ability to choose **specific deployment groups**.&#x20;

If you **don’t assign update rings** you will have the option to choose between **all users or all devices.**

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2F2i5fSyz2bKdv5wOeD9pE%2Fimage.png?alt=media&#x26;token=c14ee394-4f30-4149-8ed9-0b243eec4b04" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FRTrt3eVm6XeMfUKhv8Wm%2Fimage.png?alt=media&#x26;token=f7285713-ee26-4487-b6ed-7ad89af487bb" alt=""><figcaption></figcaption></figure>

### Step 3: Review and exclude apps

You have the option to exclude applications. Excluded applications will not be patched. There will be no creation of an “update only app” for those applications.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FeaYLIHaLybzxly4vwkOA%2Fimage.png?alt=media&#x26;token=b88cb79c-59d2-4c23-8e3a-03337269461b" alt=""><figcaption></figcaption></figure>

### 3. Monitor Autopatch

While autopatch is running you get three information tabs.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FJtZTJHXvm4nTeJgPIP3k%2Fimage.png?alt=media&#x26;token=002de35f-ccc0-427e-8664-d924453108c5" alt=""><figcaption></figcaption></figure>

* **Excluded apps:** Apps that are excluded from the autopatch service.
* **Failed apps:** Apps that autopatch failed to update.

<figure><img src="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FsF94H1u8PU49elXRVFhO%2Fimage.png?alt=media&#x26;token=6b71d8a9-9c31-4d11-8b0e-2a2e9ed06fc8" alt=""><figcaption><p>Most of the time autopatch will fail because the primary &#x26; secondary language does not match. Please patch them manually by clicking on “Patch”</p></figcaption></figure>

* **Upcoming apps:** Applications that will start to get autopatched in the next day
