This message was deleted.
# infisical-feedback
s
This message was deleted.
βœ… 1
t
cc @Akhil Mohan
d
Thanks @Tony
a
β€’ Which integration are u looking into. Webhooks we gave the first version majorly as side effects like do vercel deployment etc when secrets changed. β€’ Its not regex the secret path rather it uses glob pattern, U can use that for writing match cases. REF: https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/
d
No integration just webhook.. The comment is that this value is in the UI suggested and does not work for me.
m
@David Honig you are saying that for paths`/` ,
/**/*
the web hook isn’t working?
d
Yes this is as hint value in the secret path and it does not work... If you create webhook with this
/
,
/**/*
It does not send webhook in
/
nor
/directory
nor
/directory/deep
If I do
/**
it works everywhere
I would test if it works with the delimiter... as if I do
/dir1
,
/dir2
it does not work for either one... If I do it separately it works
d
ok so the example value is wrong
a
u mean in the placeholder
d
yes
a
haha no. It's for various usecases.
/
-> only root
/**/*
-> deep level. U can use above glob to limit to just two directory
i guess we need to put a helper text saying its glob pattern may be
d
I believe the placeholder should be less confusing i.e.
Copy code
glob pattern / or /**/* or /{dir1,dir2}
a
yah we need to update. I dont want to put too much things in placeholder rather a bottom helpertext
but yah i agree we need to put some more helpful context their
d
Actually the
/**/*
does not work at all πŸ™‚
ahhh... works only for
/directory/deep
ok
I'd assume it would for
/directory
too... but it is only the path checking not the secret included...
I'd suggest then creating a help page with examples... πŸ™‚ and link to globs...
a
yup. need to work on that. https://github.com/Infisical/infisical/issues/946 Created an issue to track it out
πŸ‘ 1
d
Copy code
/** -> everything
/**/* -> only /anything/deep
/{dir1,dir2} -> only dir1 and dir2
I do not know how to do
/
and
/dir
probably
/{,dir}
πŸ™Œ 1