properties get/list/batch-read appear unable to retrieve sensitive or highly-sensitive properties
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
Piste de recherche
Start with the implementations of properties get, properties list, and properties batch-read, then compare their requests with the documented HubSpot Properties API behavior described here. Verify how each command handles the dataSensitivity query parameter and inspect existing command tests if present. Done means sensitive and highly sensitive properties are reachable through the read paths, with the intended default and filtering behavior covered.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
HubSpot's Properties API filters by dataSensitivity tier on read: GET /crm/v3/properties/{type} and GET /crm/v3/properties/{type}/{name} return only non-sensitive properties by default, and need a ?dataSensitivity=sensitive or ?dataSensitivity=highly_sensitive query parameter to return properties at that tier. Each value looks to be an exact match rather than cumulative, it seems getting every property regardless of tier needs three separate calls (no parameter, ?dataSensitivity=sensitive, ?dataSensitivity=highly_sensitive) merged together.
As far as we could find, none of properties get, properties list, or properties batch-read expose a flag for this parameter, and we couldn't locate a generic raw-request/escape-hatch command elsewhere in the CLI either (checked the full top-level hubspot --help command surface). So it looks like a property with a dataSensitivity of sensitive or highly_sensitive may not be reachable through any of the CLI's read paths, even though it exists and is correctly configured (visible in the HubSpot UI, retrievable via the raw API with the right parameter). Happy to be pointed at something we missed if this is already supported somewhere.
Reproduction:
hubspot properties get --type contacts <a property with dataSensitivity set>
→ {"ok":false,"error":{"status":404,"message":"No property named '<name>' exists."}}
hubspot properties list --type contacts --format json | grep <name>
→ (no output, property appears absent from the list)
printf '<name>' | hubspot properties batch-read --type contacts
→ No results.
All three behave the same way for a property that HubSpot's own Settings UI shows as correctly configured.
Possible fix: our preference would be for list/batch-read to merge all three tiers by default, since a property being invisible by default based on its sensitivity seems like a surprising gotcha to hit rather than something a caller would need to opt into avoiding. A --data-sensitivity <sensitive|highly_sensitive> flag would still be useful on top of that for anyone wanting to filter to a specific tier, but shouldn't be required just to see everything.
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 7
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de HubSpot/agent-cli
-
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
-
schemas update: confirm step (--digest/--confirm) returns ok:true but never persists the changeOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Toutes les issues de HubSpot/agent-cli
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
ranxianglei/billion-context#4720 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
melgarafael/DeskcommCRM#3421 ·
Les mainteneurs répondent en général sous 1 jour
-
Xiaomi Mimo语音识别服务异常Ouvertepending triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
c1overzz/dsh-bili-scroll#124 ·
Les mainteneurs répondent en général sous 1 jour
-
bug doc-audit
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour