This medium sized ichneumon wasp female (Ichneumonidae sp.) had possibly found a nest of her host in a bamboo stem. Through the cracks in the side of the stem she tried to reach it with her ovipositor.
Possibly it is a Cryptinae but that cannot be determined for sure based on the the photographs.
UPDATE: 2023/01/17
The wasp, Haplocryptus confector [Soortenregister], referenced in the article of Pieter van Breugel in edition 25 of Hymenovaria [Breugel 2022] gave me flashbacks to the specimen in this observation. And for sure the observation on waarneming.nl has indeed been approved. Using the Hoplocryptus key [Schwarz 2007] the facial details are not visible in the photo’s, which does not exclude H. quadriguttatus, however the long ovipositor fits only H. confector. This female is somewhat differently coloured: the white antennal segments 7-10 are dark dirty white instead of white, and she does not have a white spot on the scutellum.
Last season (2022) another female was active in the garden as well.

Literature
Breugel 2022 Breugel, P. van, 2022. Mexicaanse zwartsteel in doorzonwoning. - HymenoVaria 26: 86-89.Schwarz 2007 Schwarz, M., 2007. Revision der westpaläarktischen Arten der Gattung Hoplocryptus Thomson (Hymenoptera, Ichneumonidae). na.
Soortenregister Nederlands Soortenregister
2023/01/17: Species changed