Applying Generic or Platform-Specific Patches

Design and add a patch to address the specific needs of applications or platforms, ensuring compatibility and functionality in Fleet Application Management.

Applying a patch to a software application in resources can be done in two ways, depending on whether the patch is generic (application-specific) or platform-specific.

  • Applying a Generic Patch: Refers to applying a software update or fix that's designed to address a specific issue or vulnerability across a wide range of systems or software applications without being tailored to a specific OS. The term "generic" implies that the patch isn't specific to a certain OS.
  • Applying a Platform-Specific Patch: Refers to applying a software update or fix designed to address a particular issue or vulnerability in a software application or system that's tailored to a specific OS, such as Windows and Linux.

Consider your requirements and accordingly manage patches under the generic or platform-specific category in Fleet Application Management.

    1. On the Patches list page, select the patch that you want to work with. If you need help finding the list page or the patch, see Listing Patches.
    2. On the patch details page, under Platform and patch URLs, select Manage platform.
      The Manage platform page opens.
    3. Under Platform, select one of the following options:
      • Generic: The patch applies to all platforms. If you selected the generic option, browse to the URL that refers to a web page or download link that's not specific to any particular operating system or device. Skip to step 4.
      • Platform specific: The patch applies to a specific platform. If you selected the platform-specific option, browse to the URL to provide separate download links or URLs for each platform. Skip to step 5.
    4. If you selected Generic, select Browse.
    5. In the Select file panel, select one of the following options:
      • Select from an Object Storage bucket: Select a patch from Object Storage if it's already been uploaded, and skip to step 6.
      • Upload a file: Select a patch by uploading the file to Object Storage, and skip to step 7.
    6. If you selected Select from an Object Storage bucket:
      1. Select the compartment  that contains the bucket with the patch, and then select the bucket.
      2. Select an appropriate patch file and then select Select. Skip to step 8.
    7. If you selected Upload a file in step 5:
      1. Drag the patch file from the file system to the Drop a file box, or browse for the file.
      2. Select the compartment that contains the Object Storage bucket that you want to upload the file to, and then select the bucket.
      3. Select an appropriate patch file and then select Select.
      4. Select Select to store the patch file in the bucket and select the file.
    8. If you selected Platform specific in step 3, select Browse next to the specified platform.
    9. Repeat steps 5 to 7 for a platform-specific information.
    10. Select Save changes.
  • Use the oci fleet-apps-management fleet-apps-management-operations patch create-patch-generic-artifact-details command and parameters to create a generic patch:

    oci fleet-apps-management fleet-apps-management-operations patch create-patch-generic-artifact-details --artifact-details-artifact <json_file_or_string> --compartment-id <compartment_OCID> --name <text> --patch-type <json_file_or_string> --product <json_file_or_string> --severity <text> --time-released <datetime> [OPTIONS]

    Use the oci fleet-apps-management fleet-apps-management-operations patch create-patch-generic-artifact-details command and parameters to create a platform-specific patch:

    oci fleet-apps-management fleet-apps-management-operations patch create-patch-platform-specific-artifact-details --artifact-details-artifacts <json_file_or_string> --compartment-id <compartment_OCID> --name <text> --patch-type <json_file_or_string> --product <json_file_or_string> --severity <text> --time-released <datetime> [OPTIONS] 

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the CreatePatch operation with parameters to create a generic or platform-specific patch.