[scim] Common error in patch

Phil Idm Hunt <PHIL.HUNT@ORACLE.COM> Thu, 11 July 2019 14:52 UTC

Return-Path: <PHIL.HUNT@ORACLE.COM>
X-Original-To: scim@ietfa.amsl.com
Delivered-To: scim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A6B11200F9 for <scim@ietfa.amsl.com>; Thu, 11 Jul 2019 07:52:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level:
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jF5zaOHtiRBa for <scim@ietfa.amsl.com>; Thu, 11 Jul 2019 07:52:36 -0700 (PDT)
Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B01DF120129 for <scim@ietf.org>; Thu, 11 Jul 2019 07:52:36 -0700 (PDT)
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6BEmwbk023523 for <scim@ietf.org>; Thu, 11 Jul 2019 14:52:35 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : content-type : content-transfer-encoding : mime-version : date : subject : message-id : to; s=corp-2018-07-02; bh=YLNuwKwidZcPXCErIqRVzTTGadR2TvChEuc3y/n5WGA=; b=BytFj4N3MC4QvkjJnW5SKrvuh1EvmWwKAZkgeSdqMnRIghgFg/3xUC8Q/I6cqFqIc+TL 289miqclNc5v+OD9HCKYRSM24ZQUtPHSijAbKDTuopXWb6yOs0q5tGdKJ+26KSbNRllZ 0lCeDrpgtr5J1i/OaX6cYl5jDca7kUveJBvqM7v/LM5t/HL+a2tcJs1WYDeQu5CSgd6R NPEGeh8anwmODbuLsdof4UeZg+txiyrh0ty1WB6OtKaI+DXss8wMbezdOLBNRajdyyik 7Kq9eGXo/QYDzpBrxXeWQIOaYneUIQqx8zSPipX1O/5zC7Am5uXPCSFMA8AcwUK+PUU6 7A==
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2tjk2u0jue-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <scim@ietf.org>; Thu, 11 Jul 2019 14:52:35 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6BEqU6A148073 for <scim@ietf.org>; Thu, 11 Jul 2019 14:52:34 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2tmwgy5cu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <scim@ietf.org>; Thu, 11 Jul 2019 14:52:34 +0000
Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6BEqWqj017299 for <scim@ietf.org>; Thu, 11 Jul 2019 14:52:33 GMT
Received: from [192.168.1.22] (/70.70.142.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 11 Jul 2019 14:52:32 +0000
From: Phil Idm Hunt <PHIL.HUNT@ORACLE.COM>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
Date: Thu, 11 Jul 2019 07:52:31 -0700
Message-Id: <C061A33D-56E6-4C54-8065-A13C4D6C6E1C@ORACLE.COM>
To: scim@ietf.org
X-Mailer: iPhone Mail (16F250)
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9314 signatures=668688
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=759 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907110169
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9314 signatures=668688
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=815 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907110168
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/-7Z9YpaJbL7azRjFDlxxxcQtUp4>
Subject: [scim] Common error in patch
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Simple Cloud Identity Management BOF <scim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/scim>, <mailto:scim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scim/>
List-Post: <mailto:scim@ietf.org>
List-Help: <mailto:scim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/scim>, <mailto:scim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jul 2019 14:52:40 -0000

Hi all,

There is a common mistake done by many SCIM client implementers for SCIM PATCH to remove specific instance of a CMVA.  Instead of giving the correct patch operation like this
 
{
"op": "remove",
"path": "members[value eq \"504e89bd43a24181b607ad672ec9378d\"]"
}
 
The following  is used:
 
{
"op": "remove",
"path": "members”,
“value”: "504e89bd43a24181b607ad672ec9378d”
}
 
The later form removes all the members of the group.  Many implementations won’t expect “value” and ignores it causing the whole attribute(all values) to be removed. 

As a caution service providers should check for the erroneous value parameter. 

Phil